If $table stores the table object in Word, then the following code looks for a particular $pattern:
for my $i (1..$table->Rows->Count) { for my $j (1..$table->Columns->Count) { my $text = $table->Cell($i,$j)->Range->Text; print "($i:$j) $text\n" if $text =~ /$pattern/; } }
In reply to Re: Win32::OLE Find in Table method
by hdb
in thread Win32::OLE Find in Table method
by DVCHAL
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |