Resize taskpane programmatically

Resize taskpane programmatically
3

Upvotes

Upvote

 Sep 15 2023
0 Comments 
New

Dear Team,
I have a requirement to dynamically adjust the size of my task pane programmatically. Depending on the specific functionality I'm using, I may need to resize the task pane to accommodate different content, sometimes requiring more space and other times less. How can I achieve this functionality?

My Environment
Platform : PC desktop
Host: Word
Office version number: Microsoft® Word for Microsoft 365 MSO (Version 2308 Build 16.0.16731.20052) 64-bit
Operating System: Windows 10 pro