Microsoft KB Archive/142224

MPRJ4: WindowNext/Prev Methods Ignored When Step Through Macro

PSS ID Number: Q142224 Article last modified on 01-30-1996

4.00

MACINTOSH

= SYMPTOMS =

The WindowNext and WindowPrev methods are not executed when you use the F8 or Command+I keys to step through a macro.

= WORKAROUND =

To work around this problem, use either of the following methods.

Method 1: Set a breakpoint on the line following the WindowNext or WindowPrev. To set a breakpoint, place the insertion point on the line to set as a breakpoint, and on the Run menu, click Toggle Breakpoint. You can now run the macro to the breakpoint, and then use F8 to step through the remaining code.

Method 2: Include the NoWrap parameter with these commands, as in the following example:

WindowNext NoWrap:=False. = STATUS =

Microsoft has confirmed this to be a problem in the products listed at the beginning of this article. We are researching this problem and will post more information here in the Microsoft Knowledge Base as it becomes available.

KBCategory: kbprg kbcode KBSubcategory:

= Additional reference words: 4.00 =

Copyright Microsoft Corporation 1996.