Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have an add-in that works just fine when there is a single instance of it
running on a particular machine. However, if two copies get launched at essentially the same time on the same machine, I get the following error: Method 'OnAction' of object '_CommandBarButton' failed. The runtime error number is 80004005. The failing line of code looks like this: Dim cmdButton As CommandBarButton cmdButton.OnAction = "SomeMacroName" Again, the assignment statement and the resulting toolbar button work just fine when a single instance of Excel and the add-in is running ... the error only happens when two copies are started at the same time. Any thoughts? Do multiple copies of Excel share something that's causing this problem? BTW, am running XL2003. TIA, josh |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting CommandText property of PivotCache fails if cache has 1 PivotTable | Excel Programming | |||
.ONACTION macro call fails | Excel Discussion (Misc queries) | |||
Propblem setting OnAction property at runtime | Excel Programming | |||
Find OnAction property | Excel Programming |