in reply to Re^4: add image in a specific cell
in thread add image in a specific cell
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.
# tendras que anadir $Libro->SaveAs("----");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: add image in a specific cell
by padawan_linuxero (Scribe) on Feb 29, 2008 at 19:20 UTC |