+ Reply to Thread
Results 1 to 4 of 4

Migrating macros to newer versions.

Hybrid View

pscornelison Migrating macros to newer... 11-29-2010, 02:12 PM
JBeaucaire Re: Migrating macros to newer... 11-29-2010, 02:55 PM
pscornelison Re: Migrating macros to newer... 11-29-2010, 03:52 PM
JBeaucaire Re: Migrating macros to newer... 11-29-2010, 04:01 PM
  1. #1
    Registered User
    Join Date
    11-29-2010
    Location
    North Carolina
    MS-Off Ver
    Excel 97 thru Excel 2010
    Posts
    12

    Migrating macros to newer versions.

    When we talk about upgrading macros from one version to the next, what officially does migrate or upgrade mean? Do I have to do an Import of the old personal.xls, or you just OPEN the old macros into the new version and do a SAVE, or does it all happen when you select the MIGRATE option during the install? The new macro code probably looks a little different from the old code, so what modifies it?

    I'm getting ready to migrate from 2000 to XP and then to 2003 ultimately to get to 2007. I think I need to do it one version at a time but exactly how does the macro code get upgraded?


    Thanks............Steve Cornelison

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Migrating macros to newer versions.

    In most ways, newer versions of Excel can run old version macros. New versions simply have more tools available and perhaps could be rewritten more efficiently if you so chose.

    There are a few VBA methods that get removed, like the .FileSearch method no longer supported in xl07+. A macro written for 2000 should work in 2007, but you'd discover it didn't the first time you tried and DEBUGging should take you right to the problem code.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-29-2010
    Location
    North Carolina
    MS-Off Ver
    Excel 97 thru Excel 2010
    Posts
    12

    Re: Migrating macros to newer versions.

    Quote Originally Posted by JBeaucaire View Post
    In most ways, newer versions of Excel can run old version macros. New versions simply have more tools available and perhaps could be rewritten more efficiently if you so chose.

    There are a few VBA methods that get removed, like the .FileSearch method no longer supported in xl07+. A macro written for 2000 should work in 2007, but you'd discover it didn't the first time you tried and DEBUGging should take you right to the problem code.
    Thanks for the reply. So I don't need to upgrade/migrate version by version (97 to 200 to XP to 2003 etc)? Is that just a waste of time?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Migrating macros to newer versions.

    Yes it is a waste of time. Excel 2007 can natively open and use prior version workbooks. My wife has xl2007 at work and set it to save files in xl2003 format by default since that's what we use at home.

+ 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