Posts: 63
Threads: 4
Joined: May 2010
Reputation:
0
07-01-2010, 06:13 PM
hi,
I want to write Name, Address,ID as a heading in different coloumns of excel using QTP.
Thnks in advance...........
Regards,
Anu
Posts: 63
Threads: 4
Joined: May 2010
Reputation:
0
07-12-2010, 01:37 PM
Hi,
i google Excel COM's but did not find any related topic on it.
could u please elaborate on it or mail me any link so that i can work on it.
Thnks,
Anu
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
07-13-2010, 09:56 AM
With the spoon closer to the mouth now, try googling for,
Createobject("Excel.application")
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 63
Threads: 4
Joined: May 2010
Reputation:
0
07-26-2010, 05:35 PM
Hi,
Thnks for your reply, but the reply seems that u could not understand my query.
My problem is that my header is dynamic and it is changing every time i change my search criteria.
Hope this explain my problem.................
Regards,
Anu
Posts: 54
Threads: 2
Joined: Jul 2010
Reputation:
0
07-26-2010, 07:14 PM
Do you mean your header would contain the headings of search result?
If so, get the headers of the search result and store them in an array.
And then use that array in above logic for displaying the header in the excel sheet.