Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default VBA - Writing in XL XP, executing in XL 97

Hi, is it possible to write VBA code using Excel 2002 (XP) and have it
executed in Excel 97? Is there a "converter" (or anything like that)?

Thank you,
Paulo Borelli.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA - Writing in XL XP, executing in XL 97

The code is essentially the same, so no converter required (or available).
Where you have problems is if you record the code or if you write it and
include features added in versions later than xl97 (which would be typical
of recorded code). If you go into your code and remove these features, then
the code should run in xl97. Also, xl97 uses VBA5 and xl2000 and later use
VBA6. In VBA6, there were changes such as added functions like SPLIT, JOIN,
INVSTR and others. Excel5 doesn't recognize these either.

It is always best to write your code in the lowest verion of Excel where it
might have to run.

--
Regards,
Tom Ogilvy

"Paulo de Arruda Borelli" wrote in message
...
Hi, is it possible to write VBA code using Excel 2002 (XP) and have it
executed in Excel 97? Is there a "converter" (or anything like that)?

Thank you,
Paulo Borelli.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default VBA - Writing in XL XP, executing in XL 97

Hi Paulo,

Did Tom's reply help you?
If you still have any concern on this issue, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are my functions not executing? Charlie Excel Worksheet Functions 1 March 3rd 09 11:21 PM
executing a macro within another brian Excel Discussion (Misc queries) 3 July 5th 06 01:22 AM
Executing Macros bmorganh Excel Discussion (Misc queries) 1 January 27th 06 12:03 AM
Forumlas Not Executing Trey Excel Discussion (Misc queries) 2 January 25th 06 04:02 PM
Code not executing iwrk4dedpr[_6_] Excel Programming 3 June 3rd 04 07:48 AM


All times are GMT +1. The time now is 06:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"