Closing an Action Pane (Office 2007/2010)

Jack21
2StarLounger
Posts: 107
Joined: 23 Mar 2010, 13:42

Closing an Action Pane (Office 2007/2010)

Post by Jack21 »

Can anyone help?

I have an action pane (or should I say pain!) connected to a VSTO template. I need the user to complete the action pane to populate the relevant information into the newly created document, therefore I need to trap the action pane. I have looked online and have found the below page:

http://msdn.microsoft.com/en-us/library/7we49he1.aspx" onclick="window.open(this.href);return false;

This page indicates that there is no way to trap closing the action pane, so I was wondering if anyone had come across this issue and found a possible solution?

Thanks
Jack

User avatar
HansV
Administrator
Posts: 79539
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Closing an Action Pane (Office 2007/2010)

Post by HansV »

As far as I know, there is no really satisfactory solution. A suggestion from Microsoft is to use a timer to check the Visible property of app.CommandBars("Task Pane") periodically, where where app is the Office application, and to redisplay the actions pane if necessary - see ActionPane.
Best wishes,
Hans