ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Upgrade question (https://www.excelbanter.com/excel-worksheet-functions/450290-upgrade-question.html)

Colin Hayes

Upgrade question
 


Hi all

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

Grateful for help.



GS[_2_]

Upgrade question
 

Hi all

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

Grateful for help.


Mine do!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion



[email protected]

Upgrade question
 
On Wednesday, August 20, 2014 4:10:21 PM UTC-5, Colin Hayes wrote:
Hi all



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

macros work?



Grateful for help.

Not a problem

joeu2004[_2_]

Upgrade question
 
"Colin Hayes" wrote:
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).



All times are GMT +1. The time now is 12:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com