A community member has associated this post with a similar question:
change Inbuild style shortcut key using C# code in MS Office

Only moderators can edit this content.

change Inbuild style shortcut key using C# code in MS Office

Bajpai, Ashish Kumar 1 Reputation point
2021-04-01T19:45:56.97+00:00

Hi ,

I want to change MSOffice Inbuild style shortcut key using C# code.

In Office 365 one can change it manually by File->Option->customized ribbon-> Macro

and assign shortcut key manually.

For example, Manually Heading1 key change from <Ctrl+Alt+1> to <Ctrl+Alt+0>

Same way in MS Word doc, I want to assign/change shortcut key to inbuild style (Like headin1, heading2.....) using C# Code.

Please help me to solve this issue.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,245 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,488 questions
0 comments No comments
{count} votes