Article ID: 248204 - Last Review: December 31, 2007 - Revision: 4.2 You are prompted to enable automatic refresh when you open a workbook in ExcelThis article was previously published under Q248204 On This PageSYMPTOMS
When you open a workbook in Microsoft Excel,
you receive the following message:
CAUSE
This issue occurs when the following conditions are true:
MORE INFORMATION
Microsoft Excel 2000 Service Release 1 (SR-1) prompts you if your workbook contains a PivotTable, database query, or Web query that has been configured to refresh automatically when you open the workbook. The "Options that are available in the Query Refresh dialog box" section describes each option in the Query Refresh dialog box. The "How to use the QuerySecurity Registry Entry to Configure Excel" section describes how you can use the QuerySecurity registry entry to configure how Excel handles workbooks that contain queries or PivotTables that are configured to refresh automatically. Options that are available in the Query Refresh dialog boxIf you click Enable automatic refresh, then the query or PivotTable is refreshed when you open your workbook. If you click Disable automatic refresh, then the query or PivotTable is not refreshed when you open your workbook. However, clicking Disable automatic refresh does not prevent you from refreshing the query or PivotTable after you have opened your workbook. The Enable automatic refresh and Disable automatic refresh options affect only the current workbook.If you click to select the Enable automatic query refresh for all workbooks and do not show this warning again check box, you are not prompted when you open any workbooks that refresh a query or PivotTable when they are opened. Note The Enable automatic query refresh for all workbooks and do not show this warning again check box is available only in Microsoft Excel 2000 and in Microsoft Excel 2002. In all versions of Excel that are later than Excel 2002, you must manually insert and configure the registry key as documented in the "How to use the QuerySecurity registry entry to configure Excel" section. How to use the QuerySecurity registry entry to configure ExcelImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows You can use the QueryRefresh registry entry to configure how you want Excel to handle opening workbooks that contain a query or PivotTable that refresh automatically. By default, the QuerySecurity entry is not present in the Windows registry. To add the QuerySecurity entry to the Windows registry, follow these steps:
Valid settings for the QuerySecurity entryThe following table contains the valid settings for the QuerySecurity entry:
Value Effect
-----------------------------------------------------------------------
0 Excel prompts you every time that you open a file containing a
query or PivotTable that has been configured to refresh
automatically.
Note: This is the default behavior in Excel 2000 SR-1.
1 Excel will not prompt you when you open a file containing a
query or PivotTable that has been configured to refresh
automatically. Excel will not refresh the query or PivotTable
automatically.
2 Excel will not prompt you when you open a file containing a
query or PivotTable that has been configured to refresh
automatically. Excel will refresh the query or PivotTable
automatically.
Note: This is the default behavior in Excel 97 and earlier
(non-SR-1) versions of Excel 2000.
| Article Translations
|
Back to the top
