Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Apply Style Using Keyboard Only
I want to be able to apply a style to the select text using the keyboard
only. I can't find a way to do this - I have to use the mouse. At present I click on the Style drop down and then select a style. I want to be able to drop down the list using the keyboard only. Can anyone help ? Ben Foster |
#2
|
|||
|
|||
Hi,
Try Ctrl-Shift-S. It depends on your version of Word. In Word 97 this lets you access the styles window on the formatting toolbar and type in your style name. Then you hit Enter to apply the style. If you have a later version you'll need to add the following macro that Klaus Linke wrote for me a while back. Then assign that macro to a keyboard shortcut. Sub MyStyleDropDown() ' from Klaus Linke on newsgroups ' 2003 December 12 ' Dim myCBCB As CommandBarComboBox Set myCBCB = _ CommandBars.FindControl(id:=1732, _ Visible:=True) If myCBCB Is Nothing Then Dialogs(wdDialogFormatStyle).Show Else SendKeys "{ENTER}" myCBCB.SetFocus End If End Sub Hope this helps. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://www.mvps.org/word which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Ben Foster" wrote in message ... I want to be able to apply a style to the select text using the keyboard only. I can't find a way to do this - I have to use the mouse. At present I click on the Style drop down and then select a style. I want to be able to drop down the list using the keyboard only. Can anyone help ? Ben Foster |
#3
|
|||
|
|||
Hi Charles,
I think the macro was just needed to fix some bug in Word 2000, and only if the style dropdown was on a custom toolbar? Ctrl+Shift+S seems to work fine in Word2003 (no matter where the style dropdown is). Once the combo box has the focus, you can expand it with Alt+Down, and then move around with the cursor keys. Regards, Klaus |
#4
|
|||
|
|||
Charles,
Ctrl-Shift-S works great. Thanks. Ben "Charles Kenyon" wrote in message ... Hi, Try Ctrl-Shift-S. It depends on your version of Word. In Word 97 this lets you access the styles window on the formatting toolbar and type in your style name. Then you hit Enter to apply the style. If you have a later version you'll need to add the following macro that Klaus Linke wrote for me a while back. Then assign that macro to a keyboard shortcut. Sub MyStyleDropDown() ' from Klaus Linke on newsgroups ' 2003 December 12 ' Dim myCBCB As CommandBarComboBox Set myCBCB = _ CommandBars.FindControl(id:=1732, _ Visible:=True) If myCBCB Is Nothing Then Dialogs(wdDialogFormatStyle).Show Else SendKeys "{ENTER}" myCBCB.SetFocus End If End Sub Hope this helps. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://www.mvps.org/word which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Ben Foster" wrote in message ... I want to be able to apply a style to the select text using the keyboard only. I can't find a way to do this - I have to use the mouse. At present I click on the Style drop down and then select a style. I want to be able to drop down the list using the keyboard only. Can anyone help ? Ben Foster |
#5
|
|||
|
|||
Ben
It depends on your version of Word but the basics is similar for all. Select Format, Style to open the Style dialog or Task Pane. Click on the drop down button on the Style you want to assign a shortcut. Select Modify. Check the Add to Template box and then click on Format. The lower selection is Keyboard Shortcut. Assign your shortcut and OK out of the dialog. Do the same for the remainder of the styles. Make sure that you save changes to the global template when prompted on closing Word (and Outlook if it is open). -- Terry Farrell - Word MVP http://word.mvps.org/ "Ben Foster" wrote in message ... :I want to be able to apply a style to the select text using the keyboard : only. I can't find a way to do this - I have to use the mouse. At present I : click on the Style drop down and then select a style. I want to be able to : drop down the list using the keyboard only. Can anyone help ? : : Ben Foster : : |
#6
|
|||
|
|||
Ah... OK then I can remove it from my Add-In since I'm now using 2003.
Thanks for the update. Glad I suggested trying the shortcut first! -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://www.mvps.org/word which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Klaus Linke" wrote in message ... Hi Charles, I think the macro was just needed to fix some bug in Word 2000, and only if the style dropdown was on a custom toolbar? Ctrl+Shift+S seems to work fine in Word2003 (no matter where the style dropdown is). Once the combo box has the focus, you can expand it with Alt+Down, and then move around with the cursor keys. Regards, Klaus |
#7
|
|||
|
|||
I guess I still need to use it on my system because I use my own custom
formatting toolbar. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://www.mvps.org/word which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Charles Kenyon" wrote in message ... Ah... OK then I can remove it from my Add-In since I'm now using 2003. Thanks for the update. Glad I suggested trying the shortcut first! -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://www.mvps.org/word which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Klaus Linke" wrote in message ... Hi Charles, I think the macro was just needed to fix some bug in Word 2000, and only if the style dropdown was on a custom toolbar? Ctrl+Shift+S seems to work fine in Word2003 (no matter where the style dropdown is). Once the combo box has the focus, you can expand it with Alt+Down, and then move around with the cursor keys. Regards, Klaus |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Style bug for Tables? | Microsoft Word Help | |||
Apply a style through the context menu of a selection, so the use. | Page Layout | |||
Style doesn't match description | New Users | |||
Apply Style but keep direct formatting? | New Users | |||
using table style in 1st column | Tables |