Q
qvadro
I insert table into Word document in any horizontal position cursor.
I use this code for creating table:
objWord.Selection.Tables.Add Range:=objWord.Selection.Range,
NumRows:=10, NumColumns:=5
Which function give me horizontal position cursor (Dim CursorPosition
As Long) in points or centimeters?
Then I can use this code for creating left indent for table:
objWord.Selection.Tables(1).Rows.LeftIndent =
CentimetersToPoints(CursorPosition)
Help me, please
I use this code for creating table:
objWord.Selection.Tables.Add Range:=objWord.Selection.Range,
NumRows:=10, NumColumns:=5
Which function give me horizontal position cursor (Dim CursorPosition
As Long) in points or centimeters?
Then I can use this code for creating left indent for table:
objWord.Selection.Tables(1).Rows.LeftIndent =
CentimetersToPoints(CursorPosition)
Help me, please