![]() |
Write Heading in excel - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Write Heading in excel (/Thread-Write-Heading-in-excel) |
RE: Write Heading in excel - Anu - 07-27-2010 Hi, I was able to get the values in the array but not write in excel. Whenever i run the script it writes the first header in the excel many times but did not the next header. The code is: Code: Dim sHeaderArray(100) Please help me Waiting for response. Regards, Anu RE: Write Heading in excel - sasmitakumari - 07-27-2010 Corrected....Try now.... Code: Dim sHeaderArray(10) RE: Write Heading in excel - Anu - 07-28-2010 Hi, Iahve done the modifications as per your mail............... But didn't get the desired result.......... In my previous mail, i had mentioned the problem which is still present after running the modified the code.................... Please find the attached screen shot. Hope this explain my problem........... Regards, Anu RE: Write Heading in excel - Anu - 07-30-2010 Hi, Please look into the issue so that i can proceed further.............. Regards, Anu RE: Write Heading in excel - sreekanth chilam - 07-30-2010 Hi Anu, Try with the below code. Note: Its written in Descriptive Prog., no need of adding objects in OR. Directly copy below code > paste > Run > Check O/P in excel Make sure excel file exist in the path "F\Test.xls" Code: Systemutil.Run "www.google.com" RE: Write Heading in excel - MVChowdary - 07-30-2010 Hi Sreekanth, Perfect code, it is working fine. RE: Write Heading in excel - Anu - 08-03-2010 Hi, thnks................ The code is working fine. As u have used Descriptive programming it is little bit difficult for me to understand.................. I want to get good command over Descriptive programming so please suggest me..................... Moreover,this code writtoing the result as a row wise i want in column wise........ Regards, Anu RE: Write Heading in excel - Anu - 08-05-2010 Hi, for google it is working fine but if i change the url then it creates problem ..... the code the mentioned below: Code: Systemutil.Run "http://tdil-dc.in/clia-beta-working/locale.jsp?te" Please look it into on urgent basis................ Thanks for your co -operation. Regards, Anu |