Colum size

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
View multiple column sizes in one time???

Please clarify!
This message was edited by hedrijw on 2002-08-23 02:30
 
Upvote 0
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
Hi!

Select the colums you wanna change the size to, then rightclick and select columsize
 
Upvote 0
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,214,804
Messages
6,121,652
Members
449,045
Latest member
Marcus05

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
Back
Top