silence the error?

Discussion in 'AutoCAD' started by coachball8, Jul 2, 2004.

  1. coachball8

    coachball8 Guest

    Trying to write data out to an excel file, and it works fine with one exception. If someone has the file open, then (setq file (open "f:\\my path\\log.xls" "a")) returns an error (stringp nil). That's expected, and I'm OK with it. Is there a way to silence the error at the command line and just exit quietly? I'm having a lot of trouble with it. I don't care if it doesn't work all the time, I just don't want to see it. TIA
     
    coachball8, Jul 2, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.