usual methods don't reset sheet's "used range"

F

fern

Hi,

I'm hoping someone can help me reset excel's perception of the 'use
range' I'm using b/c none of the usual tricks have worked (tho the
have in the past). It's pretty much the identical problem to the on
posted by R Avery in May, and I've tried all of the suggestions offere
to him. But since he never wrote back to say what if anything worked
I'm having to post this problem again (see his original post at
http://www.excelforum.com/showthread.php?s=&threadid=223255&goto=nextnewest).

To explain, my dataset runs from A1 to CB603 but the scroll bar extend
down to row 6398 & column DG. I can see that a lot of my formatting ha
been applied to the whole sheet, but when that's happened before (an
resulted in a huge UR), I've been able to fix it pretty easily. Sinc
I've not had any luck, I doubt that that's the cause - or at least tha
alone...

*Of course I've tried ctrl+end (or the variations thereof) to find th
end of the 'used range', and then deleted all the empty cells betwee
that point and my actual dataset.
*I've repeated that using 'clear all' instead of delete - didn't work

*I've also cut & pasted the data range (ONLY) into a secondary workboo
or sheet, but all of the extra empty cells come too.
*I've followed the instructions in the oft-repeated lin
http://www.contextures.com/xlfaqApp.html#Unused, but those don't solv
my problem either (incl the UsedRange macro that's suggested).
*And I've tried using Activesheet.usedrange via VBE (I'll admit that m
VB skills are poor but it isn't exactly a difficult command, right?)

In fact, there's ONLY thing that even remotely explans this (& i
doesn't actually explain anything at all): I've noticed that th
UsedRange resets when I first copy my data range into a new sheet. Bu
once I format the row height back to 13.5 (b/c it reverts to it'
autofit height of 40-280, depending on how much wrapped text the row'
cells contain), the UsedRange jumps back to >6000rows like it was i
the original. Wierd, eh? (Note: you can't blame the cell contents b/
the same data's repeated in lots of other (even bigger) sheets
workbooks with no problems whatsoever)

So does anyone have any ideas for how to solve this puzzle? It's no
destroying my dataset but it does mean that I'm having to try t
maneuver through 600rows of data but only an inch of scroll bar - ver
hard to do all day, every day. So I'd appreciate any help you can give
Thx
 
D

Debra Dalgleish

There may be some objects on the sheet, that are copied when you copy
the data to another sheet.

To find and delete objects --
Choose Edit>Go To, and click the Special button
Select Objects, click OK
Press the Delete key to delete the objects

To find and delete objects from the Control toolbox --
Open the Control toolbox (View>Toolbars>Control toolbox)
Click the Design mode button,
Choose Edit>Go To, and click the Special button
Select Objects, click OK
Press the Delete key to delete the objects

Or, to work with specific objects, you can add the 'Select Multiple
Objects' tool to one of your toolbars:
Choose Tools>Customize
Select the Commands tab
Select the Drawing Category
Drag the 'Select Multiple Objects' tool onto one of your toolbars
Click Close
Then, click the Select Multiple Objects button, and select any or all
objects on the worksheet.

Another thing to check for is hidden comments -- unhide all rows and
columns, and choose View>Comments
 
F

fern

Thanks Debra!

You were right about this being caused by hidden comments... actuall
about 200 of them, all hanging between rows 3000 & 7000. I know tha
*I* didn't extend them that low, but my comments have a tendency t
move about & resize themselves without my knowledge, so I'm no
surprise that they've done it on such a grand scale. I've alway
assumed it was a result of hiding the rows/columns that they'r
associated with (??) but that's definitely not the case for ALL o
these.

But regardless of why they're down there (a massive hassle to find on
when I want to read its contents), I don't know how to get them back u
to my real data range without moving each one by hand (ug!). An
suggestions or wild ideas? I'll go searching about through variou
forums etc for solutions, but a quick scan through THIS forum hasn'
turned up anything so far... so I'd really appreciate anything tha
_you_ (or anyone else reading this post) could suggest to help me.

Thanks
 
D

Debra Dalgleish

You're welcome! Thanks for taking the time to explain how you fixed the
problem.
 
Top