Migration of VBA macro pb

Hello everyone,

I'm now migrating all the macros from Excel 2002 to Excel 2007.

Normally, that don't give any pb, but I observe that, some errors rn't accetable in Excel 2007

  1. every variable need to be declare before the use
  2. [ ] to get a range value from worksheet return a compilcation error
  3. the functions like Format, Ucase don't exist in

Can u give me other difference u found in ur work? I don't find a good reference in MSDN technical doc, that can be very useful, I think

Is there a way to just use directly the old macro in 2007?

thx

[625 byte] By [YellOwCN] at [2008-1-7]
# 1

YellOwCN,

According to the description, I recommend you to read the following two parts:

1. Improving Performance in Excel 2007: Learn about the increased worksheet capacity in Microsoft Office Excel 2007 and techniques that you can use as you design and create worksheets to improve calculation performance.

http://msdn2.microsoft.com/en-us/library/aa730921.aspx

2. Visual Studio Tools for Office:

http://msdn2.microsoft.com/en-us/office/aa905533.aspx

BrunoYu-MSFT at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 2
I am having a similar problem as point 1. Have you found a resolution?

Matt-san at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic Language...