Float the TaskPane / Actions Pane

S

Sharat Koya

Hi, is there anyway of making the Task Pane float and unfloat in code? It is
possible to drag it away from word and then drag it back again but I have
been unable to do this in code.

thanks for any help.

SK
 
B

b.schmidt

You mean the CustomTaskPane.DockPosition?

When setting the value to this, it should float:
Microsoft.Office.Core.MsoCTPDockPosition.msoCTPDockPositionFloating

best regards,
bernhard


Sharat Koya, am 22.05.2007 18:38:
 
S

Sharat Koya

Hi,
I meant the whole task pane, not just a customActionPanes

actionsPane.Dock

Setting this to none makes the task pane dissappear.
 
S

Sharat Koya

Ah never mind, I found the following line:

CommandBars["Task Pane"].Position =
Microsoft.Office.Core.MsoBarPosition.msoBarRight;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top