Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / November 2007

Tip: Looking for answers? Try searching our database.

How to resize worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shelfish - 21 Nov 2007 03:06 GMT
Could someone point me in the right direction for how to resize a
worksheet. I have a macro that deletes a lot of rows. After is
finishes, I want to hit "ctrl+A" but it grabs the original number of
uses cells. Make Sense?

I know ASAP utilities already has something like this but I want to
work this function into the middle of a macro.

Thanks in advance,
Shelton
Gord Dibben - 21 Nov 2007 03:25 GMT
CTRL + a will select the entire worksheet regardless of used range.

To reset the usedrange via code see Debra Dalgleish's site.

http://www.contextures.on.ca/xlfaqApp.html#Unused

Gord Dibben  MS Excel MVP

>Could someone point me in the right direction for how to resize a
>worksheet. I have a macro that deletes a lot of rows. After is
[quoted text clipped - 6 lines]
>Thanks in advance,
>Shelton
shelfish - 21 Nov 2007 06:39 GMT
Thanks for the link, I appreciate it. But for the record, I just tried
it again on a fresh workbook and ctrl+a only selected the used range.
I'm using 2k3. It must be something in the settings.

Anyway, thanks.
ilia - 21 Nov 2007 14:39 GMT
Do it a couple of times.  First it selects the region, if you have
several lists in your worksheet.

> Thanks for the link, I appreciate it. But for the record, I just tried
> it again on a fresh workbook and ctrl+a only selected the used range.
> I'm using 2k3. It must be something in the settings.
>
> Anyway, thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.