Micro Focus QTP (UFT) Forums
Insert pic to table in word - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Insert pic to table in word (/Thread-Insert-pic-to-table-in-word)



Insert pic to table in word - kaito - 05-03-2011

Hi all,

I'm really new to QTP and I would like to insert picture into table in MSWord using QTP...please tell me how to do it

Thank you

kaito


RE: Insert pic to table in word - john.doe - 05-03-2011

Hi Kaito,

Use yourTable.Cell(x,y).Range.InlineShapes.AddPicture("picture.jpg")

Thank you,

john.doe


RE: Insert pic to table in word - kaito - 05-03-2011

Hi John Doe,

Thank you for your response and it's really work.
But now I found that the picture is too big. Maybe you have suggestion to make it smaller?

Thank you