XL2000: VBA Macro Behavior Is Different from Excel 5.0 or 7.0 (180098)
The information in this article applies to:
This article was previously published under Q180098 SUMMARY
When you run a Microsoft Visual Basic for Applications macro or procedure
in Microsoft Excel 2000, the way the macro or procedure behaves may be
different from the way it behaves in earlier versions of Excel.
This may be true for any of the following reasons:
- The architecture of Excel 2000 is somewhat different from the
architecture that is used in earlier versions of Excel. Some
elements (for example, menu bars and toolbars) are greatly enhanced in
Excel 2000. As a result, Visual Basic code that interacts with
these elements may work differently.
- Excel 2000 corrects some problems that are present in earlier
versions of Excel. As a result, Visual Basic code that works
in earlier versions of Excel may work differently in
Excel 2000.
- Because all of the Microsoft Office programs include Visual
Basic for Applications, the Visual Basic environment in Excel
includes changes that accommodate the new programs and provide
consistent behavior in all programs. As a result, code that uses
automation or other cross-product functionality may work differently in
Microsoft Excel 2000.
- Microsoft realizes the importance of minimizing the amount of effort that is required to use Visual Basic macros and procedures in Excel.
Excel 2000 is designed to be compatible with earlier versions of Microsoft Excel; however, in some cases, it may be necessary to modify your code so that it works in Excel 2000.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB180098 |
---|
|