Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Prompted to Save Changes After Setting the Saved Property to True


View products that this article applies to.

This article was previously published under Q238488

↑ Back to the top


Symptoms

When you close your workbook, Microsoft Excel prompts you to save changes even though you had previously set the Saved property of the workbook to True in a Microsoft Visual Basic for Applications macro. For example, your macro contains a line of code similar to the following:
ThisWorkbook.Saved = True
				

↑ Back to the top


Cause

This problem occurs when any of the following conditions are true:
  • You have used the Control Toolbox toolbar to add an ActiveX control to a worksheet since you last saved your workbook.

    -or-

  • You have changed the value of an ActiveX control since you last saved your workbook. For example, you have cleared a CheckBox control or you have changed the selection in a ListBox control.

↑ Back to the top


Resolution

To resolve this problem, obtain Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a).

To obtain SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base:
245025� OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)
To temporarily work around this problem if you are using one of the built-in controls from the Control Toolbox toolbar, use the equivalent tool from the Forms toolbar.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Office 2000 SR-1/SR-1a.

↑ Back to the top


More information

For more information about using the Control Toolbox toolbar and the Forms toolbar, click Microsoft Excel Help on the Help menu, type activex in the Office Assistant or the Answer Wizard, click Search, and then click Add buttons, check boxes, or other controls to a worksheet to view the topic.

↑ Back to the top


Keywords: KB238488, kbpending, kbdtacode, kbbug

↑ Back to the top

Article Info
Article ID : 238488
Revision : 5
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 234