Clearing a sheet

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,341
This happens to me occasionally. I have a sheet which ends on column IV.

It should end at column J. I select all columns from column K to IV then delete them. (Edit > Delete)

I then park the cursor in A1 and save the sheet. That usually does the job, but just now and again it has no effect.

The sheet appears to be possessed. Does anyone have any have any other methods of casting out demons?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Alternatives:
1. An exorcist
2. Explain what you are doing to make this happen? Any macros for example? Any event handlers in the background?
 
Upvote 0
Thanks Tactps and pennysaver.

The code took off a formatted cell that I use but otherwise had no effect.

No. There are no event handlers running. They were the first thing to go.

In answer to the question "What an I doing?" All I am trying to do is to delete unused cells to reduce the size of the worksheet. Nothing that I try stops Ctrl-End zipping over to column IV.
 
Upvote 0
I understand that you are deleting cells that should not be included - I am trying to work out what you are doing before that to make Excel think that they are used cells.

Any ideas?
 
Upvote 0
Hi tactps.

I have no idea how the problem occurred in the first place. The first thing that I noticed was that the scroll bar was indicating a very wide sheet. I suspect it was something that occurred when my back was turned. Excel does things like that when you are not looking.

I have resolved the problem in the meantime by painstakingly recreating the sheet from scratch.

Many thanks for your interest.
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,764
Members
448,991
Latest member
Hanakoro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top