Working in Automation Testing
Powered by: Dharamveer Saxena
Tuesday, June 29, 2010
How to get excel row count
Excel row count can be get by using the following function:
function get_row_count(path,sheet)
dim inputdata
dim rowc
set inputData = DDT.ExcelDriver(path, Sheet)
while not inputdata.EOF
inputdata.Next
rowc = rowc+1
Wend
get_row_count = rowc
end Function
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Translate
About Me
Dharamveer Saxena
View my complete profile
Blog Archive
►
2013
(2)
►
January
(2)
►
2011
(2)
►
November
(1)
►
April
(1)
▼
2010
(3)
▼
June
(3)
How to handle null strings
How to use Regular Expression to test Email ID and...
How to get excel row count
►
2009
(12)
►
November
(12)
Followers
No comments:
Post a Comment