+ Reply to Thread
Results 1 to 6 of 6

Compare two versions of excel file with macros

  1. #1
    Forum Contributor
    Join Date
    03-11-2010
    Location
    India
    MS-Off Ver
    2010
    Posts
    268

    Compare two versions of excel file with macros

    The macro code on my excel file has suddenly started executing slowly.

    I maintain versions, and I have the version that works fine and the one that runs slow.

    Is there a tool/ way to compare the differences between two files - macro code, interface changes, etc.?

    Thanks
    Ajay

  2. #2
    Registered User
    Join Date
    06-29-2011
    Location
    California
    MS-Off Ver
    Excel 2003/2007
    Posts
    58

    Re: Compare two versions of excel file with macros

    When you say, 'version' do you mean like a macro enabled workbook, a 2003 excel file, a 2010, etc? Or do you mean an old saved version versus a new saved version?

  3. #3
    Forum Contributor
    Join Date
    03-11-2010
    Location
    India
    MS-Off Ver
    2010
    Posts
    268

    Re: Compare two versions of excel file with macros

    an old saved version versus a new saved version

  4. #4
    Registered User
    Join Date
    06-29-2011
    Location
    California
    MS-Off Ver
    Excel 2003/2007
    Posts
    58

    Re: Compare two versions of excel file with macros

    In that case you could use the following to determine when this document was last saved...

    Please Login or Register  to view this content.
    You can use this to compare the two document and go by the one with the latest "last save time", which would be the newest version. If you explained a bit more what you're exactly doing I could probably provide a more optimal solution.

  5. #5
    Forum Contributor
    Join Date
    03-11-2010
    Location
    India
    MS-Off Ver
    2010
    Posts
    268

    Re: Compare two versions of excel file with macros

    Thanks.
    I know WHICH version is later. I want to compare the code of two versions to get a list of changes between two versions.

  6. #6
    Registered User
    Join Date
    06-29-2011
    Location
    California
    MS-Off Ver
    Excel 2003/2007
    Posts
    58

    Re: Compare two versions of excel file with macros

    How does this execute exactly...? You open a workbook, then it checks both files, or one of the workbooks opens, and then you want to compare it against the other? Again, more detail makes this much easier to accomplish.

    You could use this to compare each line of code

    Please Login or Register  to view this content.

+ 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