Column Widths

  • Thread starter Thread starter Paul Black
  • Start date Start date
P

Paul Black

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
 
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,

Try this:-

Sub stance()
Range("A:A,D:D,H:H,M:M,S:S,Z:Z,AE:AE").ColumnWidth = 3
End Sub

Mike
 
Thanks to both of you, thats exactly what I was after.

All the Best.
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top