PDA

View Full Version : VBA 6.3 versus VBA 7.0



kellyhell
10-25-2012, 03:03 AM
I have inherited some VB coding for Outlook which was created using VBA 6.3.Our PCs have been upgraded to Outlook 2010 (along with VBA 7.0), however, the other office apps are still 2002.

When we try to run the code on a PC with Outlook 2010 but with VBA 6.3 it errors with Run Time Error 5 Invalid Procedure Call or argument.It then refers to a line which is "rpl.BodyFormat = olformatHTML."

Does anyone have any idea why?

Aflatoon
10-25-2012, 04:22 AM
How do you have a PC with Outlook 2010 using VBA6.3?