Solved

How to use Macro enabled workbooks from Excel 2003 in Excel 2007

Posted on 2010-08-15
3
517 Views
Last Modified: 2012-06-27
Hi there,

A client is using Microsoft Office 2003 and has a macro-enabled workbook, they want to share this with a user on Office 2007.

When the user on '07 runs a macro button "new day" that populates a new page with formulas, none of the formulas are being copied as they normall should in '03.

How can I make the spreadsheet compatible with more recent versions of Office?
0
Comment
Question by:samfpt
3 Comments
 
LVL 4

Expert Comment

by:Winsen
ID: 33443103
Some functions are changed in Excel 2007, and it's probably why your macro is not working. Sound like you will need to modify the coding, or record the macro again.
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 125 total points
ID: 33443123
samfpt, normally Excel 2003 code should run just fine in 2007. Can you post the code for the button?

cheers, teylyn
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 33444276
teylun is right, this should still work.  Some known exceptions:1) FileSearch no longer works.  It was killed in Office 20072) SaveAs now requires the file type argument, and some of the named constant values for the file types changed3) ChartObjects have some object model changes
0

Featured Post

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now