Murray Brown
asked on
Excel VB.net Add-in regenerate custom TaskPane
Hi
I use the code below to add a custom task pane. I need to erase the task pane so that I can add it at a later point. How do I delete a taskpane so that I can use the code below to add it again?
Private oTaskPane_Select As TaskPane_Select
Public WithEvents Select_CustomTaskPane As Microsoft.Office.Tools.Cus tomTaskPan e
Private Sub ThisAddIn_Startup() Handles Me.Startup
oTaskPane_Select = New TaskPane_Select()
Select_CustomTaskPane = CustomTaskPanes.Add(oTaskP ane_Select , "SELECT Elements")
Select_CustomTaskPane.Dock Position = Office.MsoCTPDockPosition. msoCTPDock PositionBo ttom
I use the code below to add a custom task pane. I need to erase the task pane so that I can add it at a later point. How do I delete a taskpane so that I can use the code below to add it again?
Private oTaskPane_Select As TaskPane_Select
Public WithEvents Select_CustomTaskPane As Microsoft.Office.Tools.Cus
Private Sub ThisAddIn_Startup() Handles Me.Startup
oTaskPane_Select = New TaskPane_Select()
Select_CustomTaskPane = CustomTaskPanes.Add(oTaskP
Select_CustomTaskPane.Dock
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER