How do I set the selection in the active worksheet to a specific Range, using C# and VSTO 2008?
Range currentCells = activeSheet.get_Range("A1", "E1");
currentCells.Select();
Answer:
You can also use
currentCells.Activate();
How do I set the selection in the active worksheet to a specific Range, using C# and VSTO 2008?
Range currentCells = activeSheet.get_Range("A1", "E1");
currentCells.Select();
You can also use
currentCells.Activate();