I want to get object of an opened excel file. The excel file is not saved, so can not give any path. Is there any way?
Use GetObject(,"Excel.Application") and then work with the workbooks collection.
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **