in reply to Writing text after creating a table in MS Word using win32::ole

$word->Selection->MoveDown(5,4);

How did you come up with 5,4?

Try advice from Microsoft Word - Select next line after a table

  • Comment on Re: Writing text after creating a table in MS Word using win32::ole

Replies are listed 'Best First'.
Re^2: Writing text after creating a table in MS Word using win32::ole
by Adithyakiran.k (Novice) on Sep 12, 2013 at 12:38 UTC

    I am keeping the count of number of rows that I have to create. Here,

    5 is constant value for wdLine

    4 is the number of rows + 1

      This does not work if a cell has multiple rows that also count. If you set the number of rows to move down to a HUGE number, then it works. Quite inelegantly though...

        I did try your advice and it worked. Thanks a lot !!