BajpaiAshishKumar-1151 avatar image
0 Votes"
BajpaiAshishKumar-1151 asked TimonYang-MSFT commented

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

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Unfortunately, there seems to be no way to modify the shortcut keys programmatically.
I read the Microsoft.Office.Interop.Word document and consulted many people, but I haven't found a way to do it so far.

0 Votes 0 ·

0 Answers