Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^4: isn't numeric in substr error

by jmcnamara (Monsignor)
on Nov 19, 2010 at 13:12 UTC ( #872484=note: print w/ replies, xml ) Need Help??

in reply to Re^3: isn't numeric in substr error
in thread isn't numeric in substr error

Can't call method "write" on an undefined value at /home/bsmart/excel_workbooks.ipl line 314.

This probably occurs because the worksheet object has already been garbage collected at that point in your program. Try adding an explicit Worksbook close() to synchronise the WriteExcel object destruction.

See the WriteExcel docs on Workbook::close() for more details.


Comment on Re^4: isn't numeric in substr error
Re^5: isn't numeric in substr error
by begood321 (Novice) on Nov 24, 2010 at 20:36 UTC

    Thanks John that could be the case. I have changed code from searching within spreadsheet to check for appriate value in variable, which appears to be easier. For now I'm good. Thanks guys for your help.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-01-26 04:01 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (186 votes), past polls