in reply to Re: Re: Re: Reading from Excel
in thread Reading from Excel
my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32: +:OLE->new('Excel.Application', sub {$_[0]->Quit;}); my $Book = $Excel->Workbooks->Open(MYFILE, 1, 1); my $Sheet = $Book->Worksheets("WORKSHEETNAME"); $Sheet->Activate(); my $value = $Sheet->Range("SOMECELL")->{Value};
my $value = $Sheet->Range("SOMECELL")->Text();
if (ref($value)) { print $value->Type(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:(5) Reading from Excel
by cacharbe (Curate) on Aug 09, 2002 at 19:23 UTC | |
|
Re: Re: Re: Re: Re: Reading from Excel
by dimmesdale (Friar) on Aug 09, 2002 at 18:50 UTC |