MyExcelDeveloper.com
MyExcelDeveloper.com

Reputation: 156

Excel VSTO/VBA Events for opening Backstage window in Excel

does any one know if there is an event some other trigger for the opening of the Backstage window? I tried already using the ribbonUI, and am currently looking for windowhooks on childwindows in Excel. Any info is welcome. I will keep this updated. FYI it is not triggered using the standard Excel events (like windowactivate). Thanks in advance,

regards Arie

Upvotes: 0

Views: 41

Answers (2)

MyExcelDeveloper.com
MyExcelDeveloper.com

Reputation: 156

Ok i solved it using an XML ribbon and using the

<backstage onShow="OnBackstageShow" onHide="OnBackstageHide">      </backstage>

this works like a charm. Thanks for thinking :)

Upvotes: 0

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66286

If you add a control to the Backstage (such as a button), try to use a callback for one of its properties (e.g. getLabel) - when it fires, you know the host app is about to display the Backstage.

Upvotes: 0

Related Questions