LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default VBA Macro Versions

IIRC, there was one transition (don't remember the versions involved) where a
VBA function that was written without a type declaration, so defaulted to
Variant, would not compile in the newer version -- had to add the "As Variant"
to the end of the function line, i.e.

Function XXX() 'in original version

had to be changed to

Function XXX() As Variant


On Fri, 9 Sep 2005 13:26:55 -0500, "Chip Pearson" wrote:

I've not experienced code that works in an earlier version but
bombs in a later version. Can you provide some examples?

 
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
Complicated One -- Get all app versions & sum each Livin Excel Worksheet Functions 1 August 19th 08 09:17 AM
Please include fonts from previous versions ('98) in new versions JJBQ Excel Discussion (Misc queries) 3 October 8th 05 07:19 PM
Two Versions Bill Excel Discussion (Misc queries) 3 December 1st 04 08:17 PM
Need macro to work in 2000 and 2002 versions Fred Smith Excel Programming 4 February 7th 04 11:50 PM
Different VBA versions Tommi[_2_] Excel Programming 2 December 3rd 03 10:25 AM


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