Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone,
Is there a way I can set columns ... A D H M S Z AE .... to column width 3 in one line please. Thanks in Advance. All the Best. Paul |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use a union
Sub test() Union(Columns("A"), Columns("D"), Columns("H"), _ Columns("M"), Columns("S"), Columns("Z"), Columns("AE")). _ ColumnWidth = 3 End Sub "Paul Black" wrote: Hi everyone, Is there a way I can set columns ... A D H M S Z AE .... to column width 3 in one line please. Thanks in Advance. All the Best. Paul |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Paul,
Try this:- Sub stance() Range("A:A,D:D,H:H,M:M,S:S,Z:Z,AE:AE").ColumnWidth = 3 End Sub Mike "Paul Black" wrote: Hi everyone, Is there a way I can set columns ... A D H M S Z AE .... to column width 3 in one line please. Thanks in Advance. All the Best. Paul |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks to both of you, thats exactly what I was after.
All the Best. Paul On Aug 31, 1:24 pm, Mike H wrote: Paul, Try this:- Sub stance() Range("A:A,D:D,H:H,M:M,S:S,Z:Z,AE:AE").ColumnWidth = 3 End Sub Mike "Paul Black" wrote: Hi everyone, Is there a way I can set columns ... A D H M S Z AE .... to column width 3 in one line please. Thanks in Advance. All the Best. Paul- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Column Widths | Excel Worksheet Functions | |||
Different widths for each column in a 100% stacked column chart | Charts and Charting in Excel | |||
Column Widths | Excel Discussion (Misc queries) | |||
Column Widths | Excel Discussion (Misc queries) | |||
Can I have different column widths below each other | New Users to Excel |