+ Reply to Thread
Results 1 to 11 of 11

Can't run macros from Excel 2003 in Excel2007

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    9

    Smile Can't run macros from Excel 2003 in Excel2007

    Hi, I have a problem that I can't run a spreadsheet made in Excel 2003 with macros when I open it with Excel 2007. In all the cells it gives me errors. I already have enable all the macros and security options in 2007. Even the safe location to open it. Is there something new in 2007 that won't let the macro run? Here is the macro just in case:
    Please Login or Register  to view this content.
    Thanks
    Last edited by romperstomper; 07-15-2010 at 03:10 PM. Reason: Added code tags

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,985

    Re: Can't run macros from Excel 2003 in Excel2007

    Hi and welcome to the forum.

    In future, when posting code, please include it in code tags (I have done it for you this time)

    Are you by chance getting #NAME errors?
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    07-15-2010
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Can't run macros from Excel 2003 in Excel2007

    Hi, thanks for the advise. Yes, I'm getting that kind of erros "#NAME". Any thoughts?

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,985

    Re: Can't run macros from Excel 2003 in Excel2007

    The functions you are using (nomcta, salmul and salacmul) are not built-in functions - they are written in code and I would suspect that they are located in an add-in which you do not have installed in your 2007 setup.

  5. #5
    Registered User
    Join Date
    07-15-2010
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Can't run macros from Excel 2003 in Excel2007

    Hi Romperstomper, checking Microsoft Visual Basic in Excel, I found this other code. (this Excel worksheet was made by a former worker and he already left the company)


    Please Login or Register  to view this content.

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,985

    Re: Can't run macros from Excel 2003 in Excel2007

    Can you post the workbook that doesn't work?

  7. #7
    Registered User
    Join Date
    07-15-2010
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Can't run macros from Excel 2003 in Excel2007

    Quote Originally Posted by romperstomper View Post
    Can you post the workbook that doesn't work?

    Yes, I can, but the problem is that it has a link to the SQL server in my company. That's what the second code refers to.

  8. #8
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,985

    Re: Can't run macros from Excel 2003 in Excel2007

    That should not be relevant to the #NAME error, so it shouldn't matter.

  9. #9
    Registered User
    Join Date
    07-15-2010
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Can't run macros from Excel 2003 in Excel2007

    Quote Originally Posted by romperstomper View Post
    That should not be relevant to the #NAME error, so it shouldn't matter.
    I'll try to upload it as soon as possible. There seems to be a problem with the site. (The Excel Help Forum database has encountered a problem).

    Thanks.

  10. #10
    Registered User
    Join Date
    07-15-2010
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Can't run macros from Excel 2003 in Excel2007

    Quote Originally Posted by bijan999 View Post
    I'll try to upload it as soon as possible. There seems to be a problem with the site. (The Excel Help Forum database has encountered a problem).

    Thanks.
    Here is the file. You will have to rename it to .rar because I couldn't compress it with winzip belowe 1 mb. Thanks.
    Attached Files Attached Files

  11. #11
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,985

    Re: Can't run macros from Excel 2003 in Excel2007

    I don't have a rar program here so it will have to wait until I am at a machine where I do have one, or someone else jumps in.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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