qtp script to get count of worksheets in an excel sheet
dim a,b
set a=createobject("Excel.Application")
a.visible=true
set b=a.workbooks.open("D:\abc.xls")
Msgbox b.sheets.count
qtp script to get count of worksheets in an excel sheet-vb script to get count of worksheets in an excel sheet
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment