in reply to Re^3: Win32::OLE Excel AutoFill not working
in thread Win32::OLE Excel AutoFill not working
Your code is working, and it is also showing what I believe was the real problem: Range() is a property of Excel and Worksheet, but I need to refer to the Range of the Worksheet when I want to use AutoFill.
Thus, this code works, too:Thank you very much for the help, Roman!$sh -> Range('A2:B2') -> Select; $excel -> Selection -> AutoFill({Destination => $sh->Range('A2:B2'), T +ype => xlFillDefault});
Regards,
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Win32::OLE Excel AutoFill not working
by bobr (Monk) on Dec 24, 2009 at 20:03 UTC |