Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Autofit for entire sheet?

I know this:

Worksheets("Results").Range("a1:c1").Columns.AutoF it

But I want it for the entire document.... basically I know "c" as a
number, but I dont know the row count.

What properties can I use (which I cannot find in the help)

/S

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Autofit for entire sheet?

worksheets("Results").columns.Autofit

for rows
worksheets("Results").Rows.autofit

--
Regards,
Tom Ogilvy


"Sonnich" wrote:

I know this:

Worksheets("Results").Range("a1:c1").Columns.AutoF it

But I want it for the entire document.... basically I know "c" as a
number, but I dont know the row count.

What properties can I use (which I cannot find in the help)

/S


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
transfer entire row to another sheet aditya Excel Discussion (Misc queries) 2 May 25th 09 01:35 PM
Autofit (Columns.EntireColumn.AutoFit) does not work Michiel via OfficeKB.com Excel Discussion (Misc queries) 3 February 10th 09 05:29 PM
Copy the entire sheet to overlay existing sheet? LurfysMa New Users to Excel 2 August 29th 05 07:05 PM
Subtract entire sheet? jennifer Excel Worksheet Functions 3 April 28th 05 03:43 AM
Macro to look for blank rows in sheet, delete the row and autofit JDerm Excel Programming 1 May 13th 04 07:08 PM


All times are GMT +1. The time now is 10:54 AM.

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

About Us

"It's about Microsoft Excel"