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: No Prompt to Replace Data When You Publish to an Existing Web Page


View products that this article applies to.

This article was previously published under Q231154

↑ Back to the top


Symptoms

When you publish Microsoft Excel data to an existing Web page, Excel may replace the existing data or append data to the end of the Web page without prompting you.

↑ Back to the top


Cause

This behavior occurs when you publish data to an existing Web page and the Items to publish setting in the Publish as Web Page dialog box is the default setting of Previously Published Items.

↑ Back to the top


Resolution

When you want to publish a worksheet to an existing Web page, you must change the Items to publish setting to Range of cells or Items on worksheet (where worksheet is the name of the worksheet). To do this, follow these steps:
1.On the File menu, click Save as Web Page.
2.Under the Save options, click Republish, and then click Publish.
3.In the Items to Publish list, click Range of cells or Items on worksheet (where worksheet is the name of the worksheet).
4.If Items on worksheet is selected, click the appropriate item in the worksheet that you want published.
5.Click Publish.
6.When Excel prompts you, click either Replace file or Add to file as appropriate.

↑ Back to the top


More information

When you publish an item from a worksheet (a range of cells, a chart, a PivotTable, a list, and so on) Excel writes all the Hypertext Markup Language (HTML) for that item between a set of DIV tags, and associates a unique identifier with these DIV tags. Internally in the workbook, Excel associates the unique identifier with the item that you published. The unique identifier allows you to republish that item in the future, and only replace that item inside the DIV tags.

↑ Back to the top


References

For more information about appending data to an existing Web page, click Microsoft Excel Help on the Help menu, type put excel data on an existing web page in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

For more information about republishing data in an existing Web page, click Microsoft Excel Help on the Help menu, type modify and republish data on a web page that was previously saved by excel in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB231154, kbpending, kbprb, kbweb

↑ Back to the top

Article Info
Article ID : 231154
Revision : 3
Created on : 9/25/2003
Published on : 9/25/2003
Exists online : False
Views : 217