10-30-2009, 03:17 PM
I use QTP 9.2.
The best way I found to delete all rows of a sheet is that :
The best way I found to delete all rows of a sheet is that :
Code:
Public Function ResetSheet(sheetname)
DataTable.ImportSheet Environment.Value("TestDir") & "\Default.xls", sheetname, sheetname
End Function