in reply to Word tables, OLE, perl, and me.
That gets the cursor to the start of the line I want! Now I just am not sure how to pull out the full line so I can to a regular expression on it.my $word = CreateObject Win32::OLE 'Word.Application' or die $!; $word->{Visible} = 1; my $document = $word->Documents->Open('C:/temp/doctest.doc'); my $table = $word->ActiveDocument->Tables(2); $table->Range->Copy; my $selection = $table->Select; $word->Selection->MoveUp(wdLine,1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Word tables, OLE, perl, and me.
by binf-jw (Monk) on Feb 03, 2009 at 10:08 UTC |