Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables,microsoft.public.word.vba.general
Nathan Franklin
 
Posts: n/a
Default table column sizing

hello all,

using vba just wandering how I can resize a column to fit the contents of
the column while maintaining the width of the table..

I have 2 columns in my table the first column will be resized to
automatically fit the contents. This however, makes my table smaller...I
need the other column to take the rest of the available width to keep my
table to same size..

Also how can I make my table 100% of the page...

thanks heaps...

nathan


  #2   Report Post  
Posted to microsoft.public.word.tables,microsoft.public.word.vba.general
Anne Troy
 
Posts: n/a
Default table column sizing

Use the 100% width on the table?
Table--Properties and type 100 in the width.
However, I don't think you can auto-fit in just ONE column of a table...it
appears to be a table setting, not a column or cell setting.
************
Hope it helps!
Anne Troy
www.OfficeArticles.com

"Nathan Franklin" wrote in message
...
hello all,

using vba just wandering how I can resize a column to fit the contents of
the column while maintaining the width of the table..

I have 2 columns in my table the first column will be resized to
automatically fit the contents. This however, makes my table smaller...I
need the other column to take the rest of the available width to keep my
table to same size..

Also how can I make my table 100% of the page...

thanks heaps...

nathan



  #3   Report Post  
Posted to microsoft.public.word.tables
Orsetto
 
Posts: n/a
Default table column sizing


I have a similar question. (I think)
If you want all the tables to be the same size (width I mean)
and want autofit all columns except the first column

(i do that like this)
'Set the Column width to Autofit except for first column
.Tables(1).AutoFitBehavior (wdAutoFitContent)
.Tables(1).Columns(1).SetWidth ColumnWidth:=250, RulerStyle:=
_
wdAdjustNone

how do you manage that the first column will be big enough to make the
table spread across the entire page. I filled in 250 here but that is
arbitrary, if you have more columns you need a smaller number and if
you have less columns you need a bigger number.

Hope I made it clear.


--
Orsetto
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word table double click column markers for automatic sizing PLJ Tables 1 January 24th 06 04:27 PM
20x20 multiplication table Bob S Tables 2 December 24th 05 03:27 PM
How to paste a column of text into a column in a Word Table Sam Page Layout 2 July 31st 05 08:03 PM
table column width problems Dena Tables 2 March 8th 05 04:51 AM
Dragging table column resets Sedonakids Tables 0 January 12th 05 02:11 AM


All times are GMT +1. The time now is 07:22 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"