Upgrade question

  • Thread starter Thread starter Colin Hayes
  • Start date Start date
C

Colin Hayes

Hi all

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

Grateful for help.
 
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).
 
Back
Top