View Single Post
  #10   Report Post  
Old March 29th 06, 03:15 PM posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default resetting last cell

Hi jagdish,
If you want to make a specific cell the last cell on one worksheet, try
the MakeLastCell macro on
http://www.mvps.org/dmcritchie/excel...m#MakeLastCell
but I would sugget that you unhide all rows first or you would probably be
deleting unseen data, as the purpose is to make a specific cell the
last cell. It will not expand the used area.

Don't know if you would be hit by this in some cases or not.
The .SpecialCells(xlCellTypeBlanks) VBA function does not work as expected in Excel
http://support.microsoft.com/?kbid=832293
if you select more than 8,192 non-contiguous cells [areas] with your macro. Excel only
supports a maximum of 8,192 non-contiguous cells through VBA macros.

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"jagdish.eashwar"
[clipped]