Hi,
I have a script that will create an excel report, one of the fonctionnality I need to add is to be able to add an image from the resource or an image from a field where the user would have added the image, I have tried with field and gotofield and selectall, but my document is not always in uidoc, they can run the script function from the view…
is there a way to add an image ?
here is the code that I found on this site, that I have tested, but like I said I am not in the uidoc therefore it is not working;
Call uidoc.GotoField(“Attach_R”)
Call uidoc.SelectAll
Call uidoc.Copy
.Activesheet.Cells(row + 2, 2).Select
.Activesheet.Paste
.Visible = True
thanks for any clues on this matter,
Alena,