+ Reply to Thread
Results 1 to 14 of 14

Macros 2010------>2003

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Macros 2010------>2003

    Hi Guys,

    I am trying to save a Excel2010 spreadsheet with some buttons and macros into 2003 format so that other colleagues can use it. However, the macros will not work when I save the file as .xls and open it using windows 2003. Do you guys have any ideas as to why that might be? The file is too large to upload....thanks!

    Regards

    Jaime

  2. #2
    Forum Contributor
    Join Date
    06-16-2011
    Location
    London
    MS-Off Ver
    Excel XP
    Posts
    276

    Re: Macros 2010------>2003

    The biggest issue you'll find is the maximum worksheet size of 65536 rows by 256 columns in 2003.

    For example, if I'm looking for the last row of data in 2007 or later I'll use:

    Please Login or Register  to view this content.
    however, in 2003, the above would error as out of range.

    2003 version:

    Please Login or Register  to view this content.

    However, there will be plenty more. Without seeing your workbook, it's very difficult to judge. When you say the macros will not work.....do you get an error message? If you click 'debug' does a line of code become highlighted in yellow?

    Gimme a clue here....

  3. #3
    Registered User
    Join Date
    04-11-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Macros 2010------>2003

    No, it wont let me debug which is really annoying. Could I send it to you on an email? I really have no clue how to deal with this... thanks!

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Macros 2010------>2003

    You may attach it here?

    If the code sorts data for example it may use the Sort object which is not available in 2003.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  5. #5
    Registered User
    Join Date
    04-11-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Macros 2010------>2003

    Its too large and I cant trim it down

  6. #6
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Macros 2010------>2003

    Do any of the macros work, or will they all fail? May you post only one that does not work for review?

  7. #7
    Forum Contributor
    Join Date
    06-16-2011
    Location
    London
    MS-Off Ver
    Excel XP
    Posts
    276

    Re: Macros 2010------>2003

    This may be a really daft question but.....are macros enabled on the 2003 machine?

  8. #8
    Registered User
    Join Date
    04-11-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Macros 2010------>2003

    Yes they are enabled. I will post an excel with only the essential macros and you can tell me whats going on please. Thanks

  9. #9
    Registered User
    Join Date
    04-11-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Macros 2010------>2003

    Here you go!, there were 3 more sheets "Coporates" "Financials" and "SSA" which I took off. Thanks in advance, hopefully you can give me some colour!

    Thanks
    Attached Files Attached Files

  10. #10
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Macros 2010------>2003

    The problems are mostly because the code uses ThemeColor, TintAndShade and other formatting code that did not exist with 2003.

    Also, it will be quicker if you unprotect the code before posting for future.

  11. #11
    Registered User
    Join Date
    04-11-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Macros 2010------>2003

    Ah sorry - password 917251168

    Is there an alternative to this? Thanks

  12. #12
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Macros 2010------>2003

    I do not need it now.

    Simply remove those lines.

  13. #13
    Registered User
    Join Date
    04-11-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Macros 2010------>2003

    So is there another way to color them in the same way?

  14. #14
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Macros 2010------>2003

    There are not so many colours in 2003 as in 2007 and later. You may only have 56 colours in any workbook palette. I'm afraid I do not have enough time to go through each macro in your workbook and see what colours it will make everything, but I may say that you will often hear that it is better to develop a workbook in the earliest version of Excel with which it must work. Even this is not foolproof, but it is best.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 2003 Macros----->2010
    By jsuarez199 in forum Excel General
    Replies: 1
    Last Post: 02-04-2014, 07:08 AM
  2. Converting Excel 2003 Macros to 2010
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 11-07-2012, 05:03 PM
  3. Macros Written in Excel 2003 Problems in Excel 2010
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2012, 09:01 AM
  4. PivotCaches.add Error 5 - 2003 to 2010 Macros
    By rupes0610 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2012, 09:35 AM
  5. Upgrading Excel 2003 workbook with MS Query Macros to 2010
    By jpw2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2012, 06:14 PM

Tags for this Thread

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