PRB: AutoSave Add-In May Cause Excel Worksheet to Switch Focus on Save (818721)
The information in this article applies to:
SYMPTOMSWhen you use the AutoSave Add-in (AutoSave.xla) in Excel
2000, the add-in may cause the current workbook to switch from the active sheet
that you are editing to the first sheet in the workbook. This behavior occurs
when the dialog box appears because the add-in is set to prompt you before you
save. After you save the workbook, you are now on the wrong sheet. You must
manually return to the location where you were working before the
save.CAUSEThe problem occurs when another program or another
add-in changes the caption of the window of the active workbook. The caption
does not contain a string that starts with the workbook name.
The
AutoSave Add-in was written to switch focus to the active workbook by name.
This problem occurs before the dialog box appears and prompts if the workbook
must be auto-saved. By default, the code expects the window caption to contain
the workbook name. If the caption does not contain the workbook name, Excel
finds any window that is associated with the workbook and then activates that
window. Typically, this is the first sheet of the workbook.
Because
the problem only occurs with a process that runs outside Excel, the problem is
not common.RESOLUTIONBecause the problem only occurs if the add-in is set to
prompt you before a save, you can avoid the problem by changing the AutoSave
Add-in settings so that you are not prompted. To do this, follow these steps in the Add-in Configuration dialog box:
- On the Tools menu, click
AutoSave.
- Click to clear the Prompt before saving check box.
STATUS Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 5/30/2003 |
---|
Keywords: | kbprb KB818721 kbAudDeveloper |
---|
|