ALTSTART.XLA Adds the Parameter AltStartup= to EXCEL.INI

Last reviewed: November 2, 1994
Article ID: Q68403

SUMMARY

The add-in macro ALTSTART.XLA adds the parameter AltStartup= to the EXCEL.INI file and appends the path and subdirectory you specify. Excel will automatically open every file in the specified directory on startup.

ALTSTART.XLA is placed in the LIBRARY subdirectory if the option Library Macros is chosen during Setup.

MORE INFORMATION

For example:

  1. Open ALTSTART.XLA

  2. Enter "c:\windows\excel\myfiles" (without the quotation marks). This results in the following line in EXCEL.INI:

          AltStartup=c:\windows\excel\myfiles.
    

  3. Close Excel.

  4. Restart Excel. Every file in the MYFILES subdirectory will be opened.

Example to Undo

  1. Edit EXCEL.INI and remove the line "AltStartup=..."

-or-

  1. Open ALTSTART.XLA again. Delete the current path displayed and choose OK. This will leave the parameter "AltStartup=" in EXCEL.INI with no path.

Problems that Might Arise

  1. ALTSTART.XLA does not verify whether the path and subdirectory you entered are valid. Upon startup, no error message will be displayed if either the path or the subdirectory does not exist.

  2. Excel will open every file in the specified path regardless of whether it is a format that Excel can translate.


KBCategory: kbother
KBSubcategory:

Additional reference words: noupd


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.