http://qs1969.pair.com?node_id=816004


in reply to Re^2: Perl Excel OLE help
in thread Perl Excel OLE help

Hi MM,

You cannot access the sheet by name this way, because Excel is expecting the sheet index and not the name. You need to use the sheet index for 'Position', thusly:

my $Sheet = $Book->Worksheets(8);

Regards,
chinman

Replies are listed 'Best First'.
Re^4: Perl Excel OLE help
by mmittiga17 (Scribe) on Jan 06, 2010 at 23:53 UTC
    Hi even when I do my $Sheet = $Book->Worksheets(8); It fails to work, I get same error