Word 2003 Code to Change Table Column Width

D

Diamonds_Mine

I apologize if this is a double-post; I received an error when I tried to
post. I have a document that has several tables. For the first table in the
document which has two rows and two columns, I'd like to be able to adjust
the column width of the 2nd column to 2.43" when the paper size is A4. The
width is currently set to 2.03" and needs to remain that way letter size
paper. Your assistance is greatly appreciated.
 
C

Cindy Meister

The code isn't too difficult:

ActiveDocument.Tables(1).Columns.Width=InchesToPoints(2.43)

But have you worked out what should trigger this?
 

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