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

VBA 6.3 versus VBA 7.0



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 25th 12, 11:04 AM
kellyhell kellyhell is offline
Junior Member
 
First recorded activity at Outlookbanter: Oct 2010
Posts: 3
Default VBA 6.3 versus VBA 7.0

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?
Ads
 




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
VBA Code to Delete an Email After it is Processed by VBA robboll Outlook - General Queries 4 January 8th 10 02:41 PM
how to use vba paultip Outlook and VBA 3 December 4th 08 12:27 PM
How far can VBA go? Andre Outlook and VBA 9 September 27th 07 01:55 PM
COM and VBA George Hester Outlook and VBA 4 October 4th 06 06:12 AM
Using VBA for Outlook and VBA for Access within Access Sardonic Outlook and VBA 1 March 17th 06 12:34 PM


All times are GMT +1. The time now is 06:09 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.