I am developing a C# add in for Excel (using VSTO tools). I have an asynchronous process running, that pops up from time to time notification bubbles that are shown above all windows close to the taskbar.
I am able to bind an event to the click on these bubbles that pop up. If the Excel add in is hidden when the user clicks, I’d like to show the Excel window and navigate to a certain sheet.
Is this possible ?
You can find the Excel instance running thanks to this code:
(more info on this thread: Get instance of Excel application with C# by Handle)
You may have to check if Excel is visible to the user:
And this snippet to activate the sheet you want: