my data starts from B1.If i am running the below script it is showing can't call method worksheets o an undefined value.
use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; $Win32::OLE::Warn = 3; my $Excel=Win32::OLE->GetActiveObject('Excel.Application') $excelfile= "C:/perlpractice/simple.xlsm"; $Book=$Excel->Workbooks->Open($excelfile); $Sheet=$Book->Worksheets(1);
In reply to Re^8: Reading Excel
by ravi179
in thread Reading Excel
by ravi179
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |