Macro warning and one-off forms...

J

J S

I have a folder full of contacts that use a custom contact form.

One of these items occasionally becomes one-offed.

I have a VBscript that loops through all the contacts and does some
processing. When it attempts to access the contact via code similiar to this

For each thing in Directory.Items
temp = thing.homeaddress

NOTE: I don't ever actually open the item I'm looking at, I just use the
Thing.fieldname notation to access the data.

I get the "Do you wish to enable macros" dialog box. This causes my script
to just sit there until someone hits yes or no (Which might take days).

So I need a workaround that would allow my script to run un-attended.

1) Is there anyway to supress the enable macros dialog box for one-offed
items?
2) Is there anyway to open an item with its macros disabled?
3) Can I check the messageclass of an item without trigging the dialog box?

Any help would be much appreciated!
-J
 

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