scifirocket
scifirocket

Reputation: 1051

C# Excel VSTO - Deselect all cells

So when you open an Excel Workbook, each sheet saves the last selection of cells you made from the previous time you used the sheet. In C#, i would like to deselect (de-focus, whatever...) all cells in every sheet.

Upvotes: 1

Views: 2785

Answers (1)

GSerg
GSerg

Reputation: 78210

There's always an active cell on the sheet which is active. The only thing you can do is select the least annoying cell, such as the first one.

Upvotes: 4

Related Questions