View Single Post
  #2  
Old May 4th 07, 03:41 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Enable/Disable Macros when walking public folders in loop

The per-item enable-disable macros prompt suggests that you're using a very old version of Outlook and that those items have one-off forms with code behind them. The MessageClass property value will confirm whether it's a one0off.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Matt Williamson" wrote in message ...
I'm extracting data from Outlook to put into another program. I wrote a
program in VB6 to do it because we use a custom form for public contact data
and it has over 600+ custom fields in it. On 2 contacts, I'm getting an
Enable/Disable macros dialog but I can't determine why? Where are all of the
possible places I can look? The form itself does have some code behind it
but this only happens on 2 contacts out of 4000. I also think these 2
contacts are ones that I've gone into and with "Design this form" and looked
at the All Fields data and closed without saving any changes. I can post my
code if that seems relevant.

Any help appreciated

Matt


Ads