in reply to Re^4: WIn32::OLE debug
in thread WIn32::OLE debug

PMFJI, but shouldn't
my $row = $table->Rows->Item($rownum); #crashes!
be more something like
my $row = $table->Rows($rownum)->Item; # probably also crashes, but di +fferently ;-)
?

Replies are listed 'Best First'.
Re^6: WIn32::OLE debug
by chafelix (Acolyte) on Oct 13, 2025 at 19:01 UTC
    Nope, same error

    numrows=23

    table rows count=23.

    rownum=1 OLE exception from "Microsoft Word":

    ?e? e??a? d??at? ? p??s▀as? ╡e╡???╡???? ??a╡╡?? se a?t?? t? s??????, epe?d? ? p??a?a? ??e? s?????e?╡??a ?e??? ?ata????fa.

    Win32::OLE(0.1712) error 0x800a1767 in METHOD/PROPERTYGET "Rows" at parserworks16.pl line 191.