Page 1 of 1

Size rows columns in cells of word

Posted: Mon Sep 20, 2021 8:26 am
by Romeo
Ciao,

i need to size the rows/columns in cells of a word doc.

I have this:
..
..
oRange:=oWord:ActiveDocument:Range()
oTable:=oWord:ActiveDocument:Tables:Add(oRange,2,3)
oTable:Borders:InsideLineStyle:=.T.
oTable:Borders:OutsideLineStyle:=.T.
oTable:Cell(1,1):Range:InsertAfter("Name")
oTable:Cell(1,2):Range:InsertAfter("Age")
oTable:Cell(1,3):Range:InsertAfter("Salary")
...
...

I NEED TO RESIZE COLUMN 1 (EXAMPLE) AND INCREASE THE SIZE

(OR THE ROWS)

HOW TO DO ?

ANY HELP ?
GRAZIE

Re: Size rows columns in cells of word

Posted: Wed Sep 22, 2021 7:32 am
by Romeo
Found in forum:

oTable:Columns(1):Width:=100
oTable:Rows:Height:=50

Tks any