PDA

View Full Version : Open the Task Pane



Adamski
02-11-2010, 03:31 AM
Hello,

How can I open the task pane and navigate to a specific 'page' in it?
e.g. the Getting Started page

The following code will open it but how to go to different 'pages'?

' Open Pane
On Error Resume Next
' The following line fails if the task pane has not previously been opened!
Application.CommandBars("Task Pane").Visible = True
If Err.Number <> 0 Then
Debug.Print "Backup Pane Open Function"
'CommandBars.FindControl(ID:=7343).Execute ' Data - XML - XML Source...
CommandBars.FindControl(ID:=18).Execute ' File - New
End If
On Error GoTo 0

Cheers

drawworkhome
02-11-2010, 01:30 PM
maybe this link will help?

http://blogs.msdn.com/gabhan_berry/archive/2008/08/13/custom-task-panes.aspx