How do I manage vbscript between compose and read forms?

G

GT

Hi,

I have designed a custom Outlook 2007 email form with a separate
compose and read page. It's using vbscript to automatically compose the
subject line on sending, based on selections the user makes from several
comboboxes. The read form does not have these comboboxes.

When opening the mail on a machine with the vbscript debugger
installed, the debugger kicks in and reports an error because the
vbscript refers to objects that don't exist on the read page, only on
the compose page. You can ignore the error and the mail will still open
fine (users with no debugger installed don't notice the error at all).

Is there a way to solve this? While the form template is serving its
purpose, I just don't like loose ends. Your help greatly appreciated.

Gert
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Top