Size rows columns in cells of word

Post Reply
Romeo
Posts: 328
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Size rows columns in cells of word

Post 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
Romeo
Posts: 328
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Size rows columns in cells of word

Post by Romeo »

Found in forum:

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

Tks any
Post Reply