How to close custom task pane in outlook using Keyboard/Shortcut key ?

Ruby Sharma 1 Reputation point
2022-04-05T04:13:18.323+00:00

Environment: -
OS: - Windows 10
IDE: - VS 2019
Project Type: Outlook Addins
Programming Language : VB.net
Priority: - Critical
Description : We have designed a Customized Task Pane in Outlook known as MS Addins. Now we want to give focus to Custom task pane that is shown in the attached screenshot. We are working on a WCAG task and want to close this customized task pane by using keyboard shortcut keys so if we are able to focus on this window then we can easily close it
Note : We tried working with "sendkey" but it didn't work for us
190384-6.png

Microsoft 365 and Office Development Other
Outlook Windows Classic Outlook for Windows For business
{count} votes

1 answer

Sort by: Most helpful
  1. ChristyZhang-MSFT 26,121 Reputation points Microsoft External Staff
    2022-04-06T02:05:44.007+00:00

    Hi @Ruby Sharma ,

    Welcome to our forum!

    As I know, it's not available to create a keyboard shortcuts for add-ins in Outlook. I'm afraid you still need to close it with a mouse click. For more information, please refer to: Add custom keyboard shortcuts to your Office Add-ins.
    190317-5.png

    If you really need this feature, it is recommended that you could post the functions you expect on the website dedicated to collecting feedback. We sincerely welcome your suggestions, and thanks for your understanding and support!

    In addition, considering that the screenshot you provided contains personal information, I have hidden it in order to avoid privacy disclosure. Please remember to hide your personal information before uploading.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.