Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 exploiting the Monastery: (5)
As of 2022-09-24 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (116 votes). Check out past polls.

    Notices?