Hi,
Here is an example to understand the above syntax:
DataTable.ImportSheet "C:\test.xls",1,"Action1"
"c:\test.xls" - Path of the source excel sheet from which you intend to import data from
1 - First data sheet in test.xls file
"Action1" - Name of the data sheet in the QTP data table.
Thanks,
Prasad
Here is an example to understand the above syntax:
DataTable.ImportSheet "C:\test.xls",1,"Action1"
"c:\test.xls" - Path of the source excel sheet from which you intend to import data from
1 - First data sheet in test.xls file
"Action1" - Name of the data sheet in the QTP data table.
Thanks,
Prasad