Something that happened that prevents me from creating a temporary toolbar:
I use the following code:
Set mybar = CommandBars.Add(Name:="Custom1", Position:=msoBarFloating, _
Temporary:=True)
I get the error msg Method "Add" of object 'CommandBars' failed.
I have even tried to add a toolbar manually, but it doesn't appear on the
screen or in the toolbar list.
Weird. I have restarted Word to no avail. Any suggestions?
Thanks, as always.
Ed
Ed - 07 Jan 2006 12:07 GMT
I am probably getting closer to knowing what the problem is.
I can no longer create any type of new control via VBA. I am trying to
create a Assistant Balloon and get the same error. It says:
Method "Add" of object 'Balloon' failed.
When I click Help, I am taken to Automation Error (440) and the text talks
about Automation Objects.
Obviously something is corrupted. (When I run the same VBA program on a
separate computer, everything runs like clockwork, so it is not the program
itself.)
Is it likely ActiveX. Should I reinstall ActiveX? Any other suggestions?
Many Thanks, --Ed
Something that happened that prevents me from creating a temporary toolbar:
I use the following code:
Set mybar = CommandBars.Add(Name:="Custom1", Position:=msoBarFloating, _
Temporary:=True)
I get the error msg Method "Add" of object 'CommandBars' failed.
I have even tried to add a toolbar manually, but it doesn't appear on the
screen or in the toolbar list.
Weird. I have restarted Word to no avail. Any suggestions?
Thanks, as always.
Ed