03-26-2009, 04:28 PM
I have two sheets in xls file. I am using Formula(sum) in Sheet2 with the values of Sheet1. Like "=SUM(Sheet1!A2,Sheet1!B2)".
I have imported this xls file(both sheets) to QTP using DataTable.ImportSheet method. When I run the script, Data table is showing correct values for sheet1 but Sheet2 value is shown as #REF! and the formula is shown as (=SUM([]Sheet1!A1,[]Sheet1!B1)) in local data table sheet.
Any workaround for this? I am using QTP 9.2
Vijay
I have imported this xls file(both sheets) to QTP using DataTable.ImportSheet method. When I run the script, Data table is showing correct values for sheet1 but Sheet2 value is shown as #REF! and the formula is shown as (=SUM([]Sheet1!A1,[]Sheet1!B1)) in local data table sheet.
Any workaround for this? I am using QTP 9.2
Vijay