+ Reply to Thread
Results 1 to 2 of 2

VBA code for different versions of Excel

Hybrid View

  1. #1
    AndersW
    Guest

    VBA code for different versions of Excel

    I am creating Excel Spreadsheets that are used by several users around
    the world. They run different versions of Excel (2000, XP, 2003, etc)
    and use different language versions of Excel.

    It seems that macros created in Excel XP or 2003 doesn't work as
    intended in all versions of Excel; I understand that although the VBA
    code is common, earlier versions of Excel doesn't recognize all
    features. My problem is: how do I know what features are not supported
    between versions.

    My prime concerns are about:
    - making sheets visible (or hidden)
    - Paste Special Values
    - sorting (where it seems recording macros in XP and 2003 adds lines to
    the BVA code that are not supported).

    Is there a list of differences available somewhere?


  2. #2
    Harald Staff
    Guest

    Re: VBA code for different versions of Excel

    Hi

    You must write and/or test code in the earlest version it will run on. All
    other solutions (lists, memory, ...) is like working blindfolded.

    HTH. Best wishes Harald


    "AndersW" <a.wennberg@comhem.se> skrev i melding
    news:1136652348.441222.205880@g44g2000cwa.googlegroups.com...
    >I am creating Excel Spreadsheets that are used by several users around
    > the world. They run different versions of Excel (2000, XP, 2003, etc)
    > and use different language versions of Excel.
    >
    > It seems that macros created in Excel XP or 2003 doesn't work as
    > intended in all versions of Excel; I understand that although the VBA
    > code is common, earlier versions of Excel doesn't recognize all
    > features. My problem is: how do I know what features are not supported
    > between versions.
    >
    > My prime concerns are about:
    > - making sheets visible (or hidden)
    > - Paste Special Values
    > - sorting (where it seems recording macros in XP and 2003 adds lines to
    > the BVA code that are not supported).
    >
    > Is there a list of differences available somewhere?
    >




+ 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