Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Re: Reading from Excel

by Hrvoje (Initiate)
on Aug 09, 2002 at 15:53 UTC ( [id://188949]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32:
    +:OLE->new('Excel.Application', sub {$_[0]->Quit;});
    
    ...
    $Sheet->Activate();
    
    my $value = $Sheet->Range("SOMECELL")->{Value};
    
  2. or download this
    my $value = $Sheet->Range("SOMECELL")->Text();
    
  3. or download this
    if (ref($value)) {
      print $value->Type();
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-29 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found