Read entire worksheet in an Excel workbook
In the following section you can see How to find the last row data in Excel worksheet or How to find the Used area in a worksheet. For finding last row we are using WorkSheet.UsedRange . It will return the last cell . The follwoing code open an Excel file and read the entire content.
VB.NET Source Code
When you execute this source code the program read all content from Excel file.
|