Reply
 
Thread Tools Display Modes
  #1   Report Post  
Ben Foster
 
Posts: n/a
Default 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   Report Post  
Charles Kenyon
 
Posts: n/a
Default

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   Report Post  
Klaus Linke
 
Posts: n/a
Default

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   Report Post  
Ben Foster
 
Posts: n/a
Default

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   Report Post  
TF
 
Posts: n/a
Default

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   Report Post  
Charles Kenyon
 
Posts: n/a
Default

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   Report Post  
Charles Kenyon
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Style bug for Tables? [email protected] Microsoft Word Help 5 January 21st 05 03:40 PM
Apply a style through the context menu of a selection, so the use. Jacob Page Layout 2 December 10th 04 10:19 AM
Style doesn't match description dsimcox New Users 1 December 1st 04 11:22 PM
Apply Style but keep direct formatting? Stefan Blom New Users 2 November 28th 04 11:30 PM
using table style in 1st column Hutystng29 Tables 1 November 9th 04 02:31 PM


All times are GMT +1. The time now is 11:51 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"