The information in this article applies to:
SYMPTOMSWhen you save a workbook to an earlier version of Excel, you may receive the following message, where <filename> is the name of the workbook that you are trying to save:
CAUSEThis behavior occurs when you have run a macro that is using the OnSave property of the ActiveWorkbook, and you are saving to an earlier version of Microsoft Excel. WORKAROUNDMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.aspTo avoid this message when you save the workbook, temporarily change the default workbook format. The following macro example illustrates how to do this:
MORE INFORMATION
The OnSave property is included in Excel 98 for backwards compatibility
with Excel 7.0. The OnSave property was introduced in Excel for Windows 95,
version 7.0, but still can be used in Excel 98. The OnSave property returns
or sets the name of a Visual Basic procedure to run after the user invokes
the Save command, but before the workbook is actually saved. The OnSave
property has been replaced by the BeforeSave event in Microsoft Excel 98.
Q184707 XL98: OnSave Property Not Available in Object Browser REFERENCES
For more information about the BeforeSave event, from the Visual Basic
Editor, click the Office Assistant, type BeforeSave, click Search, and
then click to view "BeforeSave Event."
Q176476 OFF: Office Assistant Not Answering Visual Basic Questions Additional query words: XL98
Keywords : kberrmsg kbdta xlvbahowto |
Last Reviewed: February 1, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |