simple excel automation - 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: simple excel automation (/Thread-simple-excel-automation) |
simple excel automation - excellentpawan - 07-06-2013 I wrote following code for a task task: There are two column A and B, these are parameterized with some values in data table. Using this values with calculator I want to calculate WOR and type output in excel's row(1,1) for first iteration and next value in cell(2,1) for second iteration. Please help Code: Set oexcel = createobject("Excel.Application") 'to create excel RE: simple excel automation - Ankur - 07-06-2013 Check this - Code: iRow = DataTable.GetCurrentRow 'Get the current row count from DataTable |