Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Usedrange coming up as wrong size

Status
Not open for further replies.

christhedonstar

Programmer
Apr 9, 2007
215
GB
Hi,

Why is the usedrange of a workbook often bigger than where the last filled cell is? If you clear everything why is it still there? Why do you have to delete rows?

Thanks,

Chris
 
Known issue with this in excel - this is why there are 2 seperate FAQs for finding the last row / cell

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Hi,

You have discovered a seeming flaw. We have at least one FAQ posted about this. Just know that UsedRange will not gie reliable results on a sheet that has had rows cleared rather than deleted.

Next time the workbook is opened, the UsedRange will be reset.

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top