Transfer Project table into word table

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
.



Relevant Pages

  • Nested Datalists
    ... The application I'm creating consists of a DataGrid with 3 (at this ... This creates each a column that lists all Distinct Items: ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: commutator subgroup...closed
    ... If G is a group and X is a nonempty subset of G, then the subgroup ... generated by X consists of all finite products ^n_1) ... ... Prev by Date: ...
    (sci.math)
  • Re: DropDownList
    ... Eliyahu ... > I have a dropdownlist which consists of numeric values that represent ... > How do I keep the exact order of these values? ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: awk quries
    ... > Example there is a file called data.txt consists of: ... successive duplicate lines: ... John. ... Prev by Date: ...
    (comp.lang.awk)
  • Re: Copying a vector?
    ... >> I find that the best description you could apply to the STL documentation ... It mainly consists of cut and past from the source ... > Stephen Howe ... Prev by Date: ...
    (microsoft.public.vc.stl)