|
|
| No such thing as a small change | |
| PerlMonks |
Re^5: add image in a specific cellby olus (Curate) |
| on Feb 29, 2008 at 18:45 UTC ( [id://671258]=note: print w/replies, xml ) | Need Help?? |
|
This will not work. $filename2 will not be interpolated. You should be using double-quotes ("). $Excel->ActiveSheet->Pictures->Insert('c:\projectword\$filename2.jpg');Careful on the names you assign to variables. You have $excel and $Excel. $Libro and $Hoja are from $excel. You are selecting a range on $excel, but adding the picture on $Excel. You are not saving the changes to your $Libro.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||