PDA

View Full Version : Auto Add Contacts When Replying Email



Szeto
09-11-2014, 11:42 PM
Greetings..

I am using Outlook 2013 in 64-bit Win7 and i want to create a VBA for auto add to contacts for every recepient while i reply the email..

I found this link: vbaexpress,com/kb/getarticle.php?kb_id=518, but it is for Outlook 2007.


Kindly help me.

Thank you in advanced

skatonni
09-12-2014, 06:05 AM
I believe the issue here http://www.vbaexpress.com/kb/getarticle.php?kb_id=518 is 64-bit vs 32-bit.

There is information here http://msdn.microsoft.com/en-us/library/office/ee691831%28v=office.14%29.aspx#odc_office2010_Compatibility32bit64bit_Intro ducingVBA7CodeBase about making 32 bit code work in 64 bit.

Looks like you need to add PtrSafe to the Declare statements. I do not have 64-bit so I cannot check this.