ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Task Pane (https://www.excelbanter.com/excel-programming/306744-task-pane.html)

WStoreyII[_2_]

Task Pane
 
is it possible to manipulate the task pane through code in either
vba or vb.net

what i mean is if i make a add in can i add my own content to the task pane?

WStoreyII

Thanks Again



Jim Rech

Task Pane
 
You can add your own files to the Task Pane, but nothing beyond that as far
as I know.

Sub AddToTaskPane()
Dim x As NewFile
CommandBars("Task Pane").Visible = False
Set x = Application.NewWorkbook
x.Add "c:\bookNew.xls", msoNew
CommandBars("Task Pane").Visible = True
End Sub

Sub RemoveFromTaskPane()
Dim x As NewFile
CommandBars("Task Pane").Visible = False
Set x = Application.NewWorkbook
x.Remove "c:\bookNew.xls", msoNew
CommandBars("Task Pane").Visible = True
End Sub


--
Jim Rech
Excel MVP
"WStoreyII" wrote in message
...
| is it possible to manipulate the task pane through code in either
| vba or vb.net
|
| what i mean is if i make a add in can i add my own content to the task
pane?
|
| WStoreyII
|
| Thanks Again
|
|




All times are GMT +1. The time now is 03:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com