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)?

有帮助吗?

解决方案

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).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top