Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DataTable.GlobalSheet.DeleteRows
#8
Solved: 11 Years, 3 Months, 3 Weeks ago
I use QTP 9.2.

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
Reply


Messages In This Thread
RE: DataTable.GlobalSheet.DeleteRows - by Saket - 10-30-2009, 11:01 AM
RE: DataTable.GlobalSheet.DeleteRows - by Guillaume@cegc - 10-30-2009, 03:17 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)