Qtp Script to insert an image into excel worksheet
Set Excel = CreateObject("Excel.Application")
Excel.Visible = True
Set workbook = Excel.WorkBooks.Open("C:\abc.xls")
Set worksheet = workbook.Worksheets(1)
Excel.ActiveCell.Worksheet.Pictures.Insert("C:\image1.JPG")
No comments:
Post a Comment