Macro to Automatically Save Personal.xls Without Prompt (153893)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q153893 SUMMARY
When you edit the Personal.xls file in Microsoft Excel for Windows (or the
Personal Macro Workbook in Microsoft Excel for the Macintosh), you are
asked to save changes to it when you quit Microsoft Excel.
This article describes how to create a macro that prevents the message
from appearing and that saves the changes automatically when you close
the file.
For information about the purpose and location of this file, see the
"Background" section later in this article.
REFERENCES
For more information about the Close event in Microsoft Excel 97, click
the Office Assistant, type close event, click Search, and then click to
view "WorkbookBeforeClose Event."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If the Assistant is not able to answer your query,
please see the following article in the Microsoft Knowledge Base:
176476
OFF: Office Assistant Not Answering Visual Basic Questions
"Microsoft Excel Visual Basic Programmer's Guide," pages 205-210
"Visual Basic User's Guide," version 5.0, Chapter 13, Creating Automatic
Procedures and Add-in Applications
For more information about Auto_Close macros, click the Index tab in
Microsoft Excel Help, and type the following text:
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB153893 |
---|
|