The information in this article applies to:
SYMPTOMS
If you run a Microsoft Visual Basic for Applications macro that sets the focus of a command bar by using the SetFocus method, you may see the following behavior depending on which program you are using: PowerPoint 2000You may receive the following error in Powerpoint 2000:
Excel 2000 and Word 2000The command bar may not be selected as expected.CAUSEThis behavior occurs when you run a Microsoft Visual Basic for Applications macro that sets the focus to a command bar that is disabled, or is not visible. Since the control is disabled or is not visible, the SetFocus method fails. MORE INFORMATIONIn Microsoft Visual Basic for Applications, you cannot set the focus to a command bar that is disabled, or is not visible. Additional query words: OFF2000 CommandBars Controls
Keywords : |
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |