+ Reply to Thread
Results 1 to 3 of 3

Can we know the Excel Version (2003 or 2007) thru code

  1. #1
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Question Can we know the Excel Version (2003 or 2007) thru code

    Hi All,

    I have made a macro which has a couple of lines different for Excel 2003 and 2007. So, I have to maintain 2 different files for both the versions. I was wondering if I could use an If Loop in the code which could give me the Excel version there and then.

    Let me know if you have any ideas?

    Regards,
    Karan
    Last edited by karan; 04-30-2009 at 03:49 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Can we know the Excel Version (2003 or 2007) thru code

    Yes, you can use:

    Please Login or Register  to view this content.
    12.0 being 2007 etc...

  3. #3
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Thumbs up Re: Can we know the Excel Version (2003 or 2007) thru code

    and 11.0 being Excel 2003..

    Thanks a lot for the quick response.

    Regards,
    Karan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1