Hi all,

I need to find out the last used row number in my excel work sheet. I
am able to find out the number of rows in a used area using this code
snipped

worksheet = workbookObject.WorkSheets("Results Sheet")
worksheet.Select
usedArea=worksheet.usedRange
puts usedArea.Rows.Count


Please any one help me to find out the last used row number.

Cheers

Siva Phaneendra Krapa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to