>Peter,
>
>When I went into Word and recorded a macro of changing the width of a column and then looked in the VBA editor, this is what I got:
Selection.Columns.PreferredWidthType = wdPreferredWidthPoints
>Selection.Columns.PreferredWidth = InchesToPoints(1.28)
I had checked the box that says that I preferred to see my numbers in inches.
>
>See if
oTable.Columns(1).SetWidth=InchesToPoints(.95)
or
oTable.Columns(1).PreferredWidth=InchesToPoints(.95)
works.
this is what I get:
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 10/23/2000 by Peter Alexander Cortiel
'
Selection.Tables(1).Columns(1).SetWidth ColumnWidth:=122.4, RulerStyle:= _
wdAdjustNone
Selection.Tables(1).Columns(2).SetWidth ColumnWidth:=36, RulerStyle:= _
wdAdjustNone
Selection.Tables(1).Columns(3).SetWidth ColumnWidth:=72, RulerStyle:= _
wdAdjustNone
Selection.Tables(1).Columns(4).SetWidth ColumnWidth:=135, RulerStyle:= _
wdAdjustNone
End Sub
And Tamar does not give a full listing of parameters :-(
It's very frustrating.
But thanks anyway
Peter
Peter Cortiel