ACC2000: Error Creating CommandBar with Duplicate Name (208715)
The information in this article applies to:
This article was previously published under Q208715 Advanced: Requires expert coding, interoperability, and multiuser skills.
SYMPTOMS
If you try to create a command bar with an existing name by using Visual
Basic for Applications, you may receive the following error message:
Run-time error '5':
Invalid procedure call or argument
If you try to create a command bar with an existing name by using the user
interface, you may receive the following error message:
A toolbar named '<name>' already exists. Type another name.
RESOLUTION
You cannot create multiple command bars with the same name in any Microsoft
Office file, except in Microsoft Word.
REFERENCESFor more information about creating command bars through code, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Add Method, command bars in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about creating command bars through the user interface, click Microsoft Access Help on the
Help menu, type command bars in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kberrmsg kbprb kbui KB208715 |
---|
|