Excel: STEP() Causes Macro Error in Auto_Open Macro

ID: Q90402


The information in this article applies to:


SUMMARY

A STEP() macro statement in an Auto_Open routine which executes while Excel is launching will result in a macro error. If Excel is already open when the Auto_Open macro executes, the function behaves normally.


MORE INFORMATION

Double-clicking an Excel 4.0 document from the desktop while Excel is not running in the background launches Excel and opens the selected document. In this circumstance, any STEP() statement executed by an Auto_Open macro results in a macro error.

Workaround

Loading the document from within Excel by choosing Open from the File menu avoids this problem.

Reference(s):

"Microsoft Excel Function Reference," version 4.0, page 420

Additional query words: 4.00


Keywords          : kbprg 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: March 29, 1999