in reply to Can't Find my way in Excel
Have you tried
$loc = $Sheet->UsedRange->Cells->Find( { What =>"cabbage" })
The Win32::OLE documentation suggests passing a hashref when you want to use named parameters.
Also, did you run your code with warnings or the -w command line switch? Perl will tell you about problems in your code if you let it.
Update: Also try:
$loc = $Sheet->UsedRange->Cells->Find( What =>"cabbage" )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't Find my way in Excel
by ExReg (Priest) on Sep 17, 2019 at 17:20 UTC | |
by Corion (Patriarch) on Sep 17, 2019 at 17:23 UTC | |
by ExReg (Priest) on Sep 17, 2019 at 17:44 UTC | |
by Corion (Patriarch) on Sep 17, 2019 at 17:46 UTC | |
by ExReg (Priest) on Sep 17, 2019 at 19:00 UTC | |
|