Can't Delete Web Page Created by Excel

Written by Allen Wyatt (last updated February 24, 2020)
This tip applies to Excel 2003


2

Loretta uses Excel 2003 to create a series of worksheets each week. She saves a selected area of the worksheets as Web pages, and then e-mails them as attachments to employees. A few months ago she saved an entire worksheet as a Web page, instead of just a selected area. Now she can't delete or rename the Web page file; when she tries, she gets an error messages from Windows saying that the file is in use by another person or program.

It is difficult to nail down exactly what the problem may be, but it sounds like more of a Windows problem than an Excel problem. There are a few things you can try.

First, make sure that Excel is shut down. (It could be Excel itself that is preventing Windows from deleting the file.) Try to do the deletion again, and if it doesn't work then try to do it in a command prompt window. (Open one using Start | All Programs | Accessories | Command Prompt.) You will have to navigate using DOS commands to locate the file, but you can then try to delete it in the window.

You should also try deleting the file immediately after rebooting your computer. This should clear any other programs from memory, allowing you to make the deletion. (Although, I suspect that since you first ran into this problem a couple of months ago, there have been multiple times you have restarted your computer since then.)

It is also possible that the problem could be related to the file being accessed by someone over your network. To find out, shut down your system, unplug your network/Internet cable, and restart the system. Then try to delete the file.

Finally, you can choose to boot your computer into Safe Mode and then delete the file. You get into Safe Mode by pressing F8 when your computer is first booting, and then choosing Safe Mode from the boot menu that is displayed.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3129) applies to Microsoft Excel 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Making Wider Footer Margins

Want the margins used in your footers (or headers) to be wider than the margins used in the rest of your document? There ...

Discover More

Specifying Proper Case

If you need to change the case of letters in a cell, one of the functions you can use is the PROPER function. This tip ...

Discover More

Stubborn Highlighting

When you make extensive edits to a document and those edits include changing the formatting of numbered or bulleted ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Generating a Web Page

Want your worksheets to be available to others on the Internet? Excel provides a way you can save your data in HTML ...

Discover More

Adding Excel Information to a Web Page

Besides saving a worksheet as a complete Web page, you can also save smaller portions of your data to an existing Web ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 + 4?

2014-07-26 14:55:14

David Bent

I have saved entire workbooks as Web Pages on several occasions and had no trouble deleting them. In the text you say that Loretta then emails them as attachments which is another function. My question here is why not just send then as e-mail attachments without saving it as a Web page? Or is there an advantage to that? Just curious about that extra step.
Using send to will give you the ability to send as an attachment directly from the spreadsheet.
Dave


2014-07-26 09:54:55

JMJ

Unlocker is a (free) nifty utility to delete files locked by other applications
http://www.emptyloop.com/unlocker/
Hope this helps


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.