The information in this article applies to:
SUMMARYWhen you open a workbook in Microsoft Excel, the Update Remote References calculation setting for the workbook is usually selected. The exception to this rule occurs when a workbook has been linked to an external data source and you do not allow Microsoft Excel to update links to the external data source. MORE INFORMATIONMicrosoft 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.aspThe Update Remote References calculation setting determines whether or not Microsoft Excel updates formulas that include references to external data sources (such as Microsoft Word for Windows documents or Microsoft Access databases). Note that Microsoft Excel workbooks and documents are NOT external data sources. When you open a workbook, the Update Remote References setting will be set according to the following table:
To clear the Update Remote References setting in the active workbook:
Sample Visual Basic ProcedureThe following Visual Basic code example assumes that you have a file called TEST.XLS, which is located in the C:\EXCEL directory. The example opens the TEST.XLS file and then clears (turns off) the Update Remote References check box. As the Sub procedure opens the file, it also prevents Microsoft Excel from updating any of the workbook's external or remote references.
Note that the Update Remote References check box is not a universal
setting: if two workbooks are open, one workbook can have its Update Remote
References setting selected, while in the other workbook the check box is
cleared. However, when you open a workbook, its Update Remote References
check box will be selected, no matter how it was saved, unless it contains
links to an external data source.
Additional query words: 8.00 XL97 XL98 XL7 XL5 calc
Keywords : kbprg kbdta kbdtacode PgmOthr KbVBA |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |