Sitemap  · Français  · English  · Deutsch
Home » Blog » Article
Article

The new VBA features in the Workbook object in Excel 2010

18.02.2010
Based on the results of my tools for comparing the VBA functions between Excel 2010, Excel 2007 and Excel 2003, I think the next logical step should be the systematic testing of new methods, events, properties, and constants.

Unfortunately, the documentation for the new VBA features is still incomplete on my installed version. However the purpose of some new features can often be guessed by their name. But I think this will not always be possible.

The last days, I took a look on the objects „Workbooks“, „Workbook“ und „AppEvents“. While I did not find changes for the workbooks collection, the „Workbook“ object includes some new events, methods and properties which seems to be very interesting.

VBA Workbook Object

First, a list of new events which I have tested and could be triggered by code or by using the Excel 2010 interface. For some other new events, it was not possible for me to get them triggered. All these events can be raised in the Microsoft Excel Object "ThisWorkbook", in the same manner like the other events like Workbook_Open().

In the following a list of the new properties for the „Workbook“ object: Finally, here is a list of the new methods which have been added to the „Workbook“ object: I will report about my experiences with other new objects and object elements in my further articles.