in reply to Splitting the records into multiple worksheets
In the following code, new( 'filename.xlsx' ) succeeds and generates a workbook, but for some reason new ('C:/Details.xlsx' ); fails. I am not sure why that is?
Update:use strict; use warnings; use Excel::Writer::XLSX; $|=1; ## Create Excel File. #my $workbook = Excel::Writer::XLSX->new( 'C:/Details.xlsx' ); my $workbook = Excel::Writer::XLSX->new( 'filename.xlsx' ); print "workbook is $workbook\n"; __END__
|
|---|