Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Perl Excel OLE help

by mmittiga17 (Scribe)
on Jan 06, 2010 at 21:51 UTC ( #815987=note: print w/replies, xml ) Need Help??


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

I have looked every where including that site. Can not seem to get it to pull sheet 8.

Thanks MM

Replies are listed 'Best First'.
Re^3: Perl Excel OLE help
by chinman (Monk) on Jan 06, 2010 at 23:42 UTC
    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
      Hi even when I do my $Sheet = $Book->Worksheets(8); It fails to work, I get same error

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://815987]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2022-11-27 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?