View Single Post
 
Old 10-07-2013, 12:29 PM
norwood norwood is offline Windows Vista Office 2000
Novice
 
Join Date: Sep 2013
Posts: 23
norwood is on a distinguished road
Default column width error message

I am using the commands :
Selection.Tables(1).Columns(1).PreferredWidth = CentimetersToPoints(6)
Selection.Tables(1).Columns(2).PreferredWidth = CentimetersToPoints(2)
Selection.Tables(1).Columns(1).PreferredWidth = CentimetersToPoints(6)
Selection.Tables(1).Columns(2).PreferredWidth = CentimetersToPoints(1)
for my 4 column table.

But I get the error message : Cannot access individual columns in this collection because the table has mixed cell widths.

How do I adjust my column widths ? (Strangely, the above commands work on the first run, but it crashes in subsequent runs, even though I clear the document) Thanks !
Reply With Quote