Micro Focus QTP (UFT) Forums

Full Version: Add picture to Excel From UFT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, is there a way i can insert pictures from uft into an excel document, without needing the picture file?

I tried doing it with  objsheet.Pictures.Insert statement, but this doesn't really work the way i need, since when i delete files, pictures inside excel get corrupt.
I remember doing a vb macro that solved this, useing  objsheet.Shapes.AddPicture instead, but can't make it work from uft.
If there isnt a way to do it from uft, i'll end up doing a macro, but i wish i could avoid it.


Thanks in advance!