K
Kamil Dursun
Hello,
I have a task table that I want to transfer to Word. I call it MyPJTable.
I start a Word application called a1. Then I open a word document called w1.
I insert a table called MyWdTable in w1 with the same number of columns as
MyPJTable.
There it stops. I cannot select cells in the PJ table so I can insert them
one by one int the word table.
I would like to do something like
for r=1 to MyPjTable.rows
for c=1 to MyPjTable.columns
MyWordTable.range.cells(r,c).insertafter MyPjTable.cells(r,c).text
next c
MyWdTable.rows.add
next r
I cannot find out the total number of rows in the MyPjTable. It consists of
a number of selected tasks.
Any help please?
Kamil
I have a task table that I want to transfer to Word. I call it MyPJTable.
I start a Word application called a1. Then I open a word document called w1.
I insert a table called MyWdTable in w1 with the same number of columns as
MyPJTable.
There it stops. I cannot select cells in the PJ table so I can insert them
one by one int the word table.
I would like to do something like
for r=1 to MyPjTable.rows
for c=1 to MyPjTable.columns
MyWordTable.range.cells(r,c).insertafter MyPjTable.cells(r,c).text
next c
MyWdTable.rows.add
next r
I cannot find out the total number of rows in the MyPjTable. It consists of
a number of selected tasks.
Any help please?
Kamil