WD: Error in Recorded Macro Using Keyboard Shortcuts |
Q166702
When you record a WordBasic macro to apply a style using a user-defined keyboard shortcut, playing back the recorded macro may return the following error:
Error 509: Command not available.
When the macro is recorded, the following line is added after the command that applies the style:
The macro resembles the following:Unrecognized_Statement101
Sub MAIN
Style "Style1"
Unrecognized_Statement101
End Sub
This "Unrecognized_Statement101" line is not a valid WordBasic statement.
When you attempt to run the recorded macro, the macro fails on this line
and you receive the error message.
To work around this problem, follow these steps to edit the macro:
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words:
Keywords : kberrmsg kbmacro kbprg
Issue type : kbbug
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |