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

Bajpai, Ashish Kumar 1 Reputation point
2021-04-01T18:42:20.407+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,097 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,261 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,400 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,972 questions
{count} votes