Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Custom CommandBar in Word?
Message
From
06/03/2003 09:27:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Adding Custom CommandBar in Word?
Miscellaneous
Thread ID:
00762136
Message ID:
00762136
Views:
51
I need to add a custom toolbar in Word via automation only if it does not already exist. However, if I check to see if Word's commandbar already exists I get error number 1426. Here is the code I am using:
oWord = CREATEOBJECT('Word.Application')
ox = oWord.CommandBars('myNewToolbar')
Is there a better way to check and see if the toolbar already exists?
Next
Reply
Map
View

Click here to load this message in the networking platform