+ Reply to Thread
Results 1 to 3 of 3

Macro to determine version of excel version

  1. #1
    Registered User
    Join Date
    11-22-2012
    Location
    singapore
    MS-Off Ver
    2003, 365
    Posts
    50

    Macro to determine version of excel version

    hi,

    i have below codes
    Please Login or Register  to view this content.
    which i use it to open my file in a share drive during macro running.

    actually it is a loop which the month will keep adding become another month and open another file based on new month.
    but now some of the file is saved as .xlsx format.
    how can i set the macro to determine the version of excel as .xlsx if .xls is not found?

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro to determine version of excel version

    Try something like this...

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-22-2012
    Location
    singapore
    MS-Off Ver
    2003, 365
    Posts
    50

    Re: Macro to determine version of excel version

    hi, it works perfectly. thanks!

+ 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