Colum size

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

hedrijw

Board Regular
Joined
Jun 17, 2002
Messages
210
View multiple column sizes in one time???

Please clarify!
This message was edited by hedrijw on 2002-08-23 02:30
 
Upvote 0

bullit_nl

Active Member
Joined
Jun 27, 2002
Messages
279
When i right click on for ex. column A i can view the column size.

I would like to view and maybe edit the column sizes for more the one column at one time.

Thanks
 
Upvote 0

Tall

New Member
Joined
Jul 16, 2002
Messages
28
Hi!

Select the colums you wanna change the size to, then rightclick and select columsize
 
Upvote 0

Jim North

MrExcel MVP
Joined
Jun 20, 2002
Messages
791
In the past I have needed to see the column widths. Here is a macro that will insert a row at the top and then insert the current column width in the used columns:

<pre>
Sub ColWidth()

Dim CurrCol As Long
Dim rng As Range
Dim TotalCol As Long

CurrCol = 0

' determine the number of columns in use
Range("A1").Activate
Set rng = ActiveSheet.Range("a1", ActiveSheet.Range("a1").End(xlToRight))
TotalCol = rng.Columns.Count

' insert a new top row
ActiveCell.EntireRow.Insert shift:=xlDown

Do While CurrCol < TotalCol
CurrCol = CurrCol + 1 ' Increment Column
Cells(1, CurrCol).Value = Cells(1, CurrCol).ColumnWidth
Loop

End Sub

ENJOY!!

</pre>
 
Upvote 0

Forum statistics

Threads
1,191,366
Messages
5,986,242
Members
440,012
Latest member
StumpedGump1987

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top