Can't Delete Web Page Created by Excel

by Allen Wyatt
(last updated July 26, 2014)

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

Printing a Draft of a Worksheet

Want to print out the fastest possible copy of your worksheet? You do so by printing a draft, discussed in this tip.

Discover More

Making a Drop-Down List Indicator Visible

Data validation allows you to create drop-down lists that aid data entry. If you want the indicator for the drop-down lists ...

Discover More

Adding a Diagonal Watermark with a PostScript Printer

If you have a printer that understands PostScript, you can add your own watermark to each printed page. This tip discloses ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

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 page. ...

Discover More

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 format, ...

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. 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 6 - 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.