Microsoft KB Archive/108828

{|
 * width="100%"|

XL5: Macro with EDIT.REPEAT Function Runs Indefinitely

 * }

-

The information in this article applies to:


 * Microsoft Excel for Windows, versions 4.0, 4.0a, 5.0

-

SUMMARY
In Microsoft Excel versions 4.x and 5.0, running a Microsoft Excel 4.0 macro that performs an EDIT.REPEAT function will execute correctly the first time, but subsequent executions will cause the macro to loop an infinite number of times. The only way to break out of this loop is to press the ESC key.

This is by design.

The first time the macro function EDIT.REPEAT is run, the last action performed is repeated. Therefore, when the EDIT.REPEAT is executed immediately after the first EDIT.REPEAT, the macro will infinitely repeat the last action and the macro will repeat over and over again.

Additional query words: 4.00a hang loop

Keywords : kbmacro kbprg

Version : 4.00 4.00a 5.00

Platform : WINDOWS

Issue type :

Technology :