Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default How to resize worksheet

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default How to resize worksheet

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

On Tue, 20 Nov 2007 19:06:13 -0800 (PST), shelfish wrote:

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default How to resize 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.
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
How do I resize a worksheet that's stuck on 65,000 rows? JRExcelUser Excel Worksheet Functions 2 December 11th 07 12:37 AM
resize worksheet Andrea Excel Discussion (Misc queries) 2 January 20th 05 05:33 PM
resize worksheet Andrea Excel Worksheet Functions 1 January 20th 05 12:47 PM
Need to resize a worksheet window Hasta Pasta Excel Discussion (Misc queries) 5 January 8th 05 10:49 PM
resize worksheet alexanderd[_2_] Excel Programming 3 April 29th 04 08:33 PM


All times are GMT +1. The time now is 01:00 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"