Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
In this tutorial, learn how to select and manipulate cell ranges in Excel using the IronXL library. Begin by setting up a project in Visual Studio and ensure the IronXL library is installed via the NuGet package manager. Import the IronXL namespace in your code. Load an existing Excel file using the Workbook.Load method and access the first worksheet with the Worksheets.First property. To select a specific range of cells, use the indexing syntax like A2:B5. Extract entire rows or columns using the GetRow and GetColumn methods respectively. Combine ranges with the plus operator, demonstrated by merging A2:B5 with A6:B6, and print the combined range to the console. Execute the program to observe the output, showcasing IronXL's capability to simplify Excel manipulation. Explore more of IronXL's functionalities for complex tasks. Visit the website through the link in the description for a trial subscription and experience the powerful features of IronXL.
Further Reading: How to Select Range