Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2024, 10:39 PM
RRB's Avatar
RRB RRB is offline Accessing Word Add-on via shortcut key Windows 11 Accessing Word Add-on via shortcut key Office 2021
Susan Flamingo
Accessing Word Add-on via shortcut key
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 263
RRB is on a distinguished road
Default Accessing Word Add-on via shortcut key


Hi friends!

A friend of mine developed a Word add-on in dot.net. Since there are no visible Macros it seems that I cannot assign a hotkey sequence to run the functions in the add-on. The only way I found possible was to record a macro in an external program of me choosing the functions from his addition to the ribbon. It would be like alt-y-9 y-7 or some crazy thing like that, and then I would have to assign a hotkey to the macro and have the macro program running all the time in the background.

Does anybody have a better, more direct idea?

Thank you and have a good day!

Susan Flamingo
Reply With Quote
  #2  
Old 03-10-2024, 07:51 PM
Charles Kenyon Charles Kenyon is offline Accessing Word Add-on via shortcut key Windows 11 Accessing Word Add-on via shortcut key Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

The designer of the Add-In can attach keyboard shortcuts.
Reply With Quote
  #3  
Old 03-11-2024, 12:13 AM
RRB's Avatar
RRB RRB is offline Accessing Word Add-on via shortcut key Windows 11 Accessing Word Add-on via shortcut key Office 2021
Susan Flamingo
Accessing Word Add-on via shortcut key
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 263
RRB is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
The designer of the Add-In can attach keyboard shortcuts.
Well, that won't work, because the Addin is dynamic and each user can add his own sort of tools (I know it sounds strange but that is what is going on) so after I have added my tools and now all I can do is the ling alt, etc sequence I was wondering is there is a way to automate it.

any ideas?
Reply With Quote
  #4  
Old 03-13-2024, 02:55 PM
TessaMurillo TessaMurillo is offline Accessing Word Add-on via shortcut key Windows Vista Accessing Word Add-on via shortcut key Office 2010
Advanced Beginner
 
Join Date: Mar 2024
Posts: 33
TessaMurillo has a little shameless behaviour in the past
Default

You might be able to directly assign hotkeys to functions in your friend's Word add-on without the need for macros. Here's a general approach you can try:

Customize Ribbon: In Word, go to "File" > "Options" > "Customize Ribbon."

Add Commands: On the right side, under "Customize the Ribbon," select the tab where your friend's add-on commands are located.

Create Custom Group: Click "New Group" to create a new group within the selected tab.

Add Commands to Group: Select the commands from your friend's add-on that you want to assign hotkeys to and add them to the custom group.

Assign Hotkeys: With the commands selected in the custom group, click the "Keyboard Shortcuts" button at the bottom.

Assign Hotkeys: In the "Customize Keyboard" dialog, you can assign hotkeys to the selected commands. Simply press the desired hotkey combination in the "Press new shortcut key" field and click "Assign."

Confirm Changes: Click "Close" to confirm the changes and close the dialog.
Reply With Quote
  #5  
Old 03-13-2024, 11:40 PM
RRB's Avatar
RRB RRB is offline Accessing Word Add-on via shortcut key Windows 11 Accessing Word Add-on via shortcut key Office 2021
Susan Flamingo
Accessing Word Add-on via shortcut key
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 263
RRB is on a distinguished road
Default

Thank you for your attention!

While my special tab does show up on the right and I can create a new group under that tab, when I come to assign the shortcut, the tab doesn't show up on the left (see attach) any ideas?

Thank you and have a good day!

Susan Flamingo
Attached Images
File Type: jpg Screenshot_239.jpg (87.2 KB, 8 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Office 2019: Accessing the Word with licensed account fails to activate it, Jamal NUMAN Office 2 01-24-2022 01:54 PM
Accessing word objects Erdanova Excel 2 12-12-2019 06:11 AM
Accessing Word Add-on via shortcut key which excel database is my word merge document accessing Boatman Mail Merge 2 07-07-2018 10:43 AM
Word for Mac 2011: Problems accessing Text Boxes programmatically techy291 Word VBA 0 07-16-2017 08:41 AM
Accessing Word Add-on via shortcut key accessing out from NAS bradleyh10 Outlook 1 05-30-2009 11:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft