Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

'Microsoft Visual Basic for Applications Extensibility 5.3' library bug in Office 2010 x64

$
0
0

Hi folks,

I have come across what seems to be a bug in library 'Microsoft Visual Basic for Applications Extensibility 5.3' of Office 2010 x64 while upgrading a COM add-in for 64 bit:

VBA refuses to register events for CommandBar controls of the VBE environment.

I have uploaded a VBA repro file here:

http://logismix.blob.core.windows.net/dynamicribbonx/VBE_Addin.xls

VBA breaks at the following statement:

Set MenuEvent.EvtHandler = Application.VBE.Events.CommandBarEvents(CmdBarItem)

As far as I am aware, there is no alternative way to register to events of CommandBar controls of the VBA Editor and hence no way to create non-trivial add-ins for the VBE environment.

In my company we have observed the same results from other automation clients (C++ add-in and C# add-in). The bug also appears to have been fixed in Office 2013 x64.

In the (very likely) case that this is indeed a bug and given that the next version of Office is already out, should we expect a fix for this? We are working on a commercial product and we need to manage expectations of our clients.

Many thanks,

Yiannis


Viewing all articles
Browse latest Browse all 2257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>