Problem with Preferred Column widths in Word 2003

S

Sandra Williams

I'm importing a number of tables from excel into a Word document.
have written a simple macro that should set the column widths. Sampl
code:
Selection.Columns.PreferredWidthType = wdPreferredWidthPoints
Selection.Columns.PreferredWidth = CentimetersToPoints(4)
When the macro has run, table properties show the column widths to b
what I expect - BUT that isn't what the width actually is. (I can ru
the macro on two different tables and get two different sets of colum
widths)
What seems to be happening is that the overall table width remain
constant and the column width setting is acting almost like %.

Is there a way to set the absolute column width for each of th
columns? - perhaps a table property that I need to set?

Thank yo
 

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

Top