PC Review


Reply
Thread Tools Rate Thread

Column Widths

 
 
Paul Black
Guest
Posts: n/a
 
      31st Aug 2007
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

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      31st Aug 2007
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
>
>

 
Reply With Quote
 
=?Utf-8?B?TWlrZSBI?=
Guest
Posts: n/a
 
      31st Aug 2007
Paul,

Try this:-

Sub stance()
Range("A:A,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
>
>

 
Reply With Quote
 
Paul Black
Guest
Posts: n/a
 
      31st Aug 2007
Thanks to both of you, thats exactly what I was after.

All the Best.
Paul

On Aug 31, 1:24 pm, Mike H <Mi...@discussions.microsoft.com> wrote:
> Paul,
>
> Try this:-
>
> Sub stance()
> Range("A:A,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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different widths for each column in a 100% stacked column chart Chart Explorer Microsoft Excel Charting 1 21st May 2009 09:19 AM
HOW DO I CREATE TWO COLUMN WIDTHS IN ONE COLUMN DIFFERENT ROW IN E LIZZIE Microsoft Excel New Users 1 12th Jan 2008 11:17 PM
Multiple Column Report With Varying Column Widths =?Utf-8?B?bWNnag==?= Microsoft Access 5 5th Nov 2006 08:28 PM
how do I set different column widths for same column in one excell =?Utf-8?B?Ymxvb21pbmdidXp6?= Microsoft Excel Misc 1 26th Jul 2006 01:49 PM
I wish to have multiple column widths for a the same column. =?Utf-8?B?R2FyeSBEaWtpbg==?= Microsoft Excel Worksheet Functions 4 6th Jun 2005 08:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 AM.