in reply to Re^5: Reading tables in MS Word
in thread Reading tables in MS Word
for my $table (in $tables) { my $rownum=1;#VB starts at 1, not 0 while($rownum<=$table->Rows->Count){# the documentation #(rather sketchy) talks about Table.Column.Count #Probably the mistake is here my $cell1=$table->Cell($rownum,1); # get the cell of row $rownum and 1st column my $text1=$cell1->ConvertToText(wdSeparateByTabs)->Text; print "$text1\n"; $rownum++; } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Reading tables in MS Word
by Corion (Patriarch) on Jul 16, 2025 at 15:29 UTC | |
by spiral (Novice) on Jul 16, 2025 at 21:11 UTC | |
by Corion (Patriarch) on Jul 17, 2025 at 07:39 UTC |