![]() |
reading data from CVS file - 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: reading data from CVS file (/Thread-reading-data-from-CVS-file) |
reading data from CVS file - Brian - 04-04-2008 Hi Guys, Just wondering does anyone know how to read data in from a CVS file (comma seperated file). The file is in the format - "A","B","C", "D". I wish to read in those values as something like - Var1 = "A" Var2 = "B" Var3 = "C" Var4 = "D" Any help on this would be great. Cheers, Brian RE: reading data from CVS file - kamalteja - 04-04-2008 Hi, You can store the value in a string i.e., Code: Step 1:Set objExcel = CreateObject("Excel.Application") RE: reading data from CVS file - Brian - 04-06-2008 Thanks Kamalteja, thats a great help, i will try that code now. |