Hello,
I want my code to be able to handle the following find statement when it
fails to find the text in the 'What' argument.
$row = $Sheet->UsedRange->Find ({What => "ParentItemName", SearchDirection
=> xlNext, SearchOrder => xlByRows}) -> {Row};
If the text, ParentItemName, does not exist in the affected worksheet, I get
the following hash error.
Can't use an undefined value as a HASH reference at c:\images\PKSortExport.pl
line 441, <STDIN> line 2
I could bog you down with the rest of the code, but it might better if someone
could simply send me a link to the basic code to handle a find failure when
using Perl to look in a workbook's worksheet for a string.
Thank you.
_________________________________________________________________
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free
today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs