A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Enable/Disable Macros when walking public folders in loop



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 4th 07, 02:33 PM posted to microsoft.public.outlook.program_vba
Matt Williamson
external usenet poster
 
Posts: 21
Default Enable/Disable Macros when walking public folders in loop

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
  #2  
Old May 4th 07, 02: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


  #3  
Old May 4th 07, 03:00 PM posted to microsoft.public.outlook.program_vba
Matt Williamson
external usenet poster
 
Posts: 21
Default Enable/Disable Macros when walking public folders in loop

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


"Sue Mosher [MVP-Outlook]" wrote in message
...
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




  #4  
Old May 4th 07, 03:28 PM posted to microsoft.public.outlook.program_vba
Matt Williamson
external usenet poster
 
Posts: 21
Default Enable/Disable Macros when walking public folders in loop

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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Enable Macros in Outlook 2003 (XP Pro SP2) Ron Outlook and VBA 1 January 10th 07 07:39 PM
Loop through all folders in a mailbox Bob Smith Outlook and VBA 4 May 25th 06 11:23 PM
Enable Disable the To textbox [email protected] Outlook - Using Forms 1 May 23rd 06 08:54 PM
Where is the group policy option to enable or disable 'Word as email editor' in Outlook XP? QH Outlook - General Queries 5 April 11th 06 03:47 PM
enable macros Joanne Outlook and VBA 3 February 24th 06 05:44 PM


All times are GMT +1. The time now is 06:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.