PC Review


Reply
Thread Tools Rate Thread

Apply Style Using Keyboard Only

 
 
Ben Foster
Guest
Posts: n/a
 
      13th Jan 2005
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


 
Reply With Quote
 
 
 
 
Charles Kenyon
Guest
Posts: n/a
 
      13th Jan 2005
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" <(E-Mail Removed)> wrote in message
news:u$MZfLY%(E-Mail Removed)...
>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
>



 
Reply With Quote
 
Klaus Linke
Guest
Posts: n/a
 
      13th Jan 2005
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 With Quote
 
Ben Foster
Guest
Posts: n/a
 
      13th Jan 2005
Charles,

Ctrl-Shift-S works great. Thanks.

Ben

"Charles Kenyon" <(E-Mail Removed)> wrote in
message news:eSknvQY%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:u$MZfLY%(E-Mail Removed)...
>>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
>>

>
>



 
Reply With Quote
 
TF
Guest
Posts: n/a
 
      13th Jan 2005
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" <(E-Mail Removed)> wrote in message
news:u$MZfLY%(E-Mail Removed)...
: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
:
:


 
Reply With Quote
 
Charles Kenyon
Guest
Posts: n/a
 
      13th Jan 2005
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" <(E-Mail Removed)> wrote in message
news:uLoaPiY%(E-Mail Removed)...
> 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 With Quote
 
Charles Kenyon
Guest
Posts: n/a
 
      13th Jan 2005
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" <(E-Mail Removed)> wrote in
message news:eZq$ktY%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:uLoaPiY%(E-Mail Removed)...
>> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE7 refuses to apply CSS style from <style> section to <td> lcplben Windows XP Internet Explorer 3 7th Oct 2009 11:09 PM
Replace style indenting with tabs in the style then apply to docu Lyn Microsoft Word Document Management 5 28th Jan 2008 07:03 AM
STYLE WON'T APPLY =?Utf-8?B?SmFj?= Microsoft Word Document Management 1 13th Sep 2005 07:42 PM
Apply XP Style when Classic Style selected at client? Evgeny Zoldin Microsoft Dot NET Framework Forms 3 15th Mar 2004 08:09 AM
Apply XP Style when Classic Style selected at client? Evgeny Zoldin Microsoft Dot NET Framework 2 15th Mar 2004 12:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:50 PM.