Hi Anu, Thanks for your suggestion. As u said i can navigate to the last row in the used range of excel and print the data. My question is the used range may start from any cell like Range(D5:H10). I would like to determine the H10 (Where 10 is the last used row number) value in the range.
any way i got the solution for my query. Here is the statement useful usedAreaaddress=worksheet.UsedRange.ActiveRange.adress That will return the address of Used range in an excel sheet Regards 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 -~----------~----~----~----~------~----~------~--~---