Upgrade question

C

Colin Hayes

Hi all

If I upgrade from Office 2003 to Office Professional 2010 , will all my
macros work?

Grateful for help.
 
J

joeu2004

Colin Hayes said:
If I upgrade from Office 2003 to Office Professional 2010,
will all my macros work?

Mostly, yes. But it depends on what you do in the macros.

For example, to use IsOdd in VBA for XL2003, you might select the reference
ATPVBAEN.XLS, then write MsgBox IsOdd(123) or MsgBox
[atpvbaen.xls].IsOdd(123).

Neither works in VBA for XL2010 because IsOdd is a standard
WorkSheetFunction. We must write MsgBox WorksheetFunction.IsOdd(123) or
MsgBox Application.IsOdd(123).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top