Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default Excel Version

Hi all,

With the help of a VBA code i want to find out the excel version(2003
or 2007) of the user so that i can execute a different codes as per
the version.

I used code "Application.Version" but the return value is 12 and I am
using excel 2007.

Please help................

Regards
Heera
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default Excel Version

Version 10 is xl2002
Version 11 is xl2003
Version 12 is xl2007

--
Regards,

OssieMac


"Heera" wrote:

Hi all,

With the help of a VBA code i want to find out the excel version(2003
or 2007) of the user so that i can execute a different codes as per
the version.

I used code "Application.Version" but the return value is 12 and I am
using excel 2007.

Please help................

Regards
Heera

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Excel Version

That's correct.

John Walkenbach shares the version numbers he
http://spreadsheetpage.com/index.php...rsion_history/

if val(application.version) < 12 then

Some versions have a trailing letter.


Heera wrote:

Hi all,

With the help of a VBA code i want to find out the excel version(2003
or 2007) of the user so that i can execute a different codes as per
the version.

I used code "Application.Version" but the return value is 12 and I am
using excel 2007.

Please help................

Regards
Heera


--

Dave Peterson
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
How do I save an Excel 97-2003 version or 2007 version for Mac 200 Bronigal Excel Discussion (Misc queries) 1 December 7th 09 08:04 AM
older version and newer version of excel Nanofish Excel Programming 5 July 7th 08 07:51 PM
Macro - Save an Open Excel Version 4 as current version of Excel planomax Excel Programming 1 February 6th 07 09:41 PM
Recover earlier version of excel sheet after new version saved? stephanie38 Excel Discussion (Misc queries) 3 June 17th 05 03:52 AM
How can I update the version of Excel 2000 9.0 to version 10.0 Ramsey Can Excel Discussion (Misc queries) 1 May 11th 05 03:28 PM


All times are GMT +1. The time now is 08:05 PM.

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

About Us

"It's about Microsoft Excel"