Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Can we write VBA code to set all column/row's size back to default size?

Somthing like one of these may work...

a.
Worksheets("Sheet1").Range("A1:D8"). _
AutoFormat Format:=xlRangeAutoFormatClassic1

b.
Columns("E:E").EntireColumn.AutoFit

You will have to play with these, and the Range/Columns as
required.


-----Original Message-----
VBA code changes the Excel column/row size, Can we write
VBA code to set all column/row's size back to default

size?

Thanks in advance!
.

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
is there a code to set the default view size in Excel Rebel[_2_] Excel Discussion (Misc queries) 2 May 31st 09 01:33 AM
how do i reformat text size in all comment boxs to a default size bwnsgr96 Excel Worksheet Functions 1 August 20th 08 09:35 PM
save as bring up full screen how do I get back to normal size jdart Excel Discussion (Misc queries) 2 March 27th 08 07:36 PM
My tabs' font size is smaller - how do I restore default size? katykins53 Excel Discussion (Misc queries) 1 January 11th 06 01:07 AM
Changed column width keeps reverting back to original size David Boone Excel Discussion (Misc queries) 3 May 29th 05 01:22 PM


All times are GMT +1. The time now is 01:22 PM.

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"