Excel.Tips.Net ExcelTips (Menu Interface)

Can't Delete Web Page Created by Excel

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.

Related Tips:

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!


Leave your own comment:

  Notify me about new comments ONLY FOR THIS TIP
Notify me about new comments ANYWHERE ON THIS SITE
Hide my email address
*What is 5+3 (To prevent automated submissions and spam.)
           Commenting Terms

Comments for this tip:

David Bent    26 Jul 2014, 14:55
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.
JMJ    26 Jul 2014, 09:54
Unlocker is a (free) nifty utility to delete files locked by other applications
Hope this helps

Our Company

Sharon Parq Associates, Inc.

About Tips.Net

Contact Us


Advertise with Us

Our Privacy Policy

Our Sites


Beauty and Style




DriveTips (Google Drive)

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2016)



Home Improvement

Money and Finances


Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2016)

Our Products

Helpful E-books

Newsletter Archives


Excel Products

Word Products

Our Authors

Author Index

Write for Tips.Net

Copyright © 2016 Sharon Parq Associates, Inc.