Enable/Disable Macros when walking public folders in loop

  • Thread starter Matt Williamson
  • Start date
M

Matt Williamson

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
 
S

Sue Mosher [MVP-Outlook]

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
M

Matt Williamson

The MessageClass for those 2 is IPM.Contact whereas for all of the other's
it's IPM.Contact.Contact Manager which is the custom form in the Org Forms
Library. I'm not seeing where I can change it for just these individual
contacts though. Any insight?

TIA

Matt


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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
M

Matt Williamson

The MessageClass for those 2 is IPM.Contact whereas for all of the other's
it's IPM.Contact.Contact Manager which is the custom form in the Org Forms
Library. I'm not seeing where I can change it for just these individual
contacts though. Any insight?

I used OutlookSpy to change them and the Messagebox doesn't pop up any
longer.
 

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