R
Rafael Nenninger
I tried implementing it by converting a regular excel macro:
ActiveSheet.Pictures.Insert("C:\images\header.gif").Select
Selection.ShapeRange.IncrementLeft -424.5
Selection.ShapeRange.IncrementTop -346.5
into asp code:
set objXL = server.createobject("OWC.Spreadsheet")
objXL.ActiveSheet.pictures.Insert(server.MapPath("..")
&"\images\rtlogo.gif") objXL.Selection.shapeRange.IncrementLeft -424.5
objXL.Selection.shapeRange.IncrementTop -346.5
But I got this error message
Object doesn't support this property or method: 'pictures'
Is there a way to insert an image (or an object referencing an image)?
Thanks,
Rafael
ActiveSheet.Pictures.Insert("C:\images\header.gif").Select
Selection.ShapeRange.IncrementLeft -424.5
Selection.ShapeRange.IncrementTop -346.5
into asp code:
set objXL = server.createobject("OWC.Spreadsheet")
objXL.ActiveSheet.pictures.Insert(server.MapPath("..")
&"\images\rtlogo.gif") objXL.Selection.shapeRange.IncrementLeft -424.5
objXL.Selection.shapeRange.IncrementTop -346.5
But I got this error message
Object doesn't support this property or method: 'pictures'
Is there a way to insert an image (or an object referencing an image)?
Thanks,
Rafael