I believe the the title says it all. Does anybody know how to remove the close button of task-pane in Excel using VSTO (VB.NET)?
Asked
Active
Viewed 838 times
1 Answers
0
I think it should simply be like this:
taskPane.CloseButton = false;
(I tested this in my current Addin that uses some 3rd party software that uses TaskPane manager and it works there. This is why I am not completely sure if this will work for you, especially after reading this topic that concludes that there is not direct way to do it).

Mitja Bezenšek
- 2,503
- 1
- 14
- 17
-
Thanks, but I was looking for the code without any 3rd party controls. – Codename K Apr 10 '13 at 21:28
-
You tried my suggestion and it didn't work? If so it is possible that there isn't a way to do it like the topic I linked to you suggests. – Mitja Bezenšek Apr 10 '13 at 23:29