Reputation: 1075
How do I set the selection in the active worksheet to a specific Range, using C# and VSTO 2008?
Upvotes: 3
Views: 2512
Reputation: 4949
You can also use
currentCells.Activate();
Upvotes: 0
Reputation: 4692
Range currentCells = activeSheet.get_Range("A1", "E1"); currentCells.Select();
Upvotes: 2