Reputation: 10470
I need to be able to use C# and Excel interop to determine which cells are selected in a workbook/worksheet. It would be nice if there were something like this defined in Excel:
Excel.Range Worksheet.GetSelectedCells();
Upvotes: 4
Views: 6972
Reputation: 1018
I guess you can use the ActiveCell property of the Excel Application object. It would return you a Range object.
Upvotes: 0