The information in this article applies to:
SYMPTOMSIf you record a macro to move a command bar to a specific location, the macro recorder does not record any commands. However, you can record commands to turn on, turn off, remove, or add a command bar. CAUSEWhen you record a macro, the macro recorder attempts to analyze the actions and then create the equivalent Microsoft Visual Basic for Applications code. The CommandBar object is a portion of the Microsoft Office 97 object model. PowerPoint does not record code for objects that are not a part of the PowerPoint object model. RESOLUTION
In PowerPoint 97 all of the toolbars--Standard, Formatting, Drawing, and
so forth--in the object model, are part of the CommandBars and
CommandBarControls collections. Using the Visual Basic Editor, you can
write Visual Basic for Applications code to control the behavior of the
CommandBars.
Q176476 OFF: Office Assistant Not Answering Visual Basic Questions Additional query words: 97 8.00 kbmacro ppt8 vba vbe toolbar
Keywords : kbcode kbmacro kbprg kbdta kbdtacode kbpptvba |
Last Reviewed: October 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |