Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Used Range is not resetting

I have a spreadsheet that refuses to reset its last used cell even
though I delete all rows between the last row that i want to have in the
usedrange and the last row. Then i go to cell A1 and save the workbook.

While this usually works, in a particular worksheet I am using, this
does not work. Any idea why?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Used Range is not resetting

Hi
have you checked: http://www.contextures.com/xlfaqApp.html#Unused

--
Regards
Frank Kabel
Frankfurt, Germany

"R Avery" schrieb im Newsbeitrag
...
I have a spreadsheet that refuses to reset its last used cell even
though I delete all rows between the last row that i want to have in

the
usedrange and the last row. Then i go to cell A1 and save the

workbook.

While this usually works, in a particular worksheet I am using, this
does not work. Any idea why?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Used Range is not resetting

That is precisely what I did. It did not work. Any other suggestions?
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Used Range is not resetting

Did you try saving, closing and reopening?

What version of xl are you using?

In some earlier versions, you had to do more stuff.

R Avery wrote:

That is precisely what I did. It did not work. Any other suggestions?


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Used Range is not resetting

XL 2002

Yes i have tried saving, closing, reopening. No effect. Any other idea?


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Used Range is not resetting

Is the last cell in the last column? Any hidden rows/cols,
even within what you think should be the UR ?

Peter

-----Original Message-----
XL 2002

Yes i have tried saving, closing, reopening. No effect.

Any other idea?
.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Used Range is not resetting

I've had a few (very few) worksheets that just won't reset this last used cell.

If it's really important to me, I copy the range I want to a new worksheet. But
it has to be really important--to go through page setup, range names, and all
the other stuff.



R Avery wrote:

XL 2002

Yes i have tried saving, closing, reopening. No effect. Any other idea?


--

Dave Peterson

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Used Range is not resetting

Yes, it was in the last column. Plus, it thinks the last cell is
L65535, and the last row of actual data is in cell L500.

No hidden rows or columns. I tried selecting all cells, copying, and
pasting into new workbook. Even after I did that, I could not reset the
UR. I tried selecting only my data and pasting into new workbook.
After I did this, I extended the used range by putting some value in a
cell far below my data. I tried to reset the UR here, and it worked.

So there is something special about those empty rows. I just can't
figure out what.


Peter T wrote:
Is the last cell in the last column? Any hidden rows/cols,
even within what you think should be the UR ?

Peter


-----Original Message-----
XL 2002

Yes i have tried saving, closing, reopening. No effect.


Any other idea?

.


  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Used Range is not resetting

It's probably innocuous and not worth spending time over,
as Dave suggested. But a real pain if you want to loop the
Usedrange or copy the sheet using the cells method.

A possibility is that at some stage in the sheet's history
some form of formatting was applied to all rows and
columns (height or width perhaps). Not sure if this will
work but try copying rows & columns from a clean and empty
sheet to below and to the right of where you think the
used range should be.

Run Activesheet.usedrange in code, and save/reopen.

Regards,
Peter

-----Original Message-----
Yes, it was in the last column. Plus, it thinks the last

cell is
L65535, and the last row of actual data is in cell L500.

No hidden rows or columns. I tried selecting all cells,

copying, and
pasting into new workbook. Even after I did that, I

could not reset the
UR. I tried selecting only my data and pasting into

new workbook.
After I did this, I extended the used range by putting

some value in a
cell far below my data. I tried to reset the UR here,

and it worked.

So there is something special about those empty rows. I

just can't
figure out what.


Peter T wrote:
Is the last cell in the last column? Any hidden

rows/cols,
even within what you think should be the UR ?

Peter


-----Original Message-----
XL 2002

Yes i have tried saving, closing, reopening. No

effect.

Any other idea?

.


.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resetting the scroll bar Todd Excel Discussion (Misc queries) 1 November 13th 09 08:53 PM
Resetting Defaults jnix Setting up and Configuration of Excel 1 August 12th 09 10:29 PM
Why are my options resetting themselves? cbare Excel Discussion (Misc queries) 0 November 2nd 06 11:30 PM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
Resetting cells Sony[_3_] Excel Programming 5 February 4th 04 03:31 PM


All times are GMT +1. The time now is 10:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"