Reply
 
Thread Tools Display Modes
  #1   Report Post  
jodzeee
 
Posts: n/a
Default Assigning a keyboard shortcut for Borders & Shading

I used to have a customized keyboard shortcut to bring up the Borders &
Shading dialog box for a table. I'm starting over because my normal.dot
is very old and probably corrupt so I want a fresh start. I'm using
Word 2003.

I cannot find in the shortcuts anything that will give me this dialog
box. In my world, it should be under FormatBorders & Shading, or even
TablesFormatBorders & Shading. I cannot find anyway to assign this
shortcut.

I suppose I could create a macro and assign that a shortcut, but I
can't believe this isn't an option!

Any ideas?

Jodi

  #2   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

I haven't tried this, but try "Borders:" in All Commands.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"jodzeee" wrote in message
oups.com...
I used to have a customized keyboard shortcut to bring up the Borders &
Shading dialog box for a table. I'm starting over because my normal.dot
is very old and probably corrupt so I want a fresh start. I'm using
Word 2003.

I cannot find in the shortcuts anything that will give me this dialog
box. In my world, it should be under FormatBorders & Shading, or even
TablesFormatBorders & Shading. I cannot find anyway to assign this
shortcut.

I suppose I could create a macro and assign that a shortcut, but I
can't believe this isn't an option!

Any ideas?

Jodi


  #3   Report Post  
jodzeee
 
Posts: n/a
Default

I tried that. All that does is clear all borders. I also tried it with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need to close the
dialog box I'm opening in order to stop recording, which makes the
macro do nothing. Maybe there's a way around this, I don't know a lot
about macros.

Is there a way to copy keyboard shortcuts from another template like
styles and macros? I found something on the Internet that someone
created but it didn't work for me. I think because it was for a
previous version of Word.

Any other advice?

Jodi

  #4   Report Post  
Stefan Blom
 
Posts: n/a
Default

Assign a keyboard shortcut to the FormatBordersAndShading built-in
Word command. You'll find it in the "All Commands" category in the
Customize keyboard dialog box. (You can open the dialog box via
ToolsCustomize, click the Options tab, and click the Keyboard
button.)

--
Stefan Blom


"jodzeee" wrote in message
ups.com...
I tried that. All that does is clear all borders. I also tried it

with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need to close the
dialog box I'm opening in order to stop recording, which makes the
macro do nothing. Maybe there's a way around this, I don't know a

lot
about macros.

Is there a way to copy keyboard shortcuts from another template like
styles and macros? I found something on the Internet that someone
created but it didn't work for me. I think because it was for a
previous version of Word.

Any other advice?

Jodi






  #5   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Did you try this, Stefan? If that command were listed there, do you think
this thread would exist?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Assign a keyboard shortcut to the FormatBordersAndShading built-in
Word command. You'll find it in the "All Commands" category in the
Customize keyboard dialog box. (You can open the dialog box via
ToolsCustomize, click the Options tab, and click the Keyboard
button.)

--
Stefan Blom


"jodzeee" wrote in message
ups.com...
I tried that. All that does is clear all borders. I also tried it

with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need to close the
dialog box I'm opening in order to stop recording, which makes the
macro do nothing. Maybe there's a way around this, I don't know a

lot
about macros.

Is there a way to copy keyboard shortcuts from another template like
styles and macros? I found something on the Internet that someone
created but it didn't work for me. I think because it was for a
previous version of Word.

Any other advice?

Jodi









  #6   Report Post  
Stefan Blom
 
Posts: n/a
Default

Yes, I tried it -- in Word 2000. Are you saying the command no longer
exists in recent versions of Word?

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Did you try this, Stefan? If that command were listed there, do you

think
this thread would exist?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Assign a keyboard shortcut to the FormatBordersAndShading built-in
Word command. You'll find it in the "All Commands" category in the
Customize keyboard dialog box. (You can open the dialog box via
ToolsCustomize, click the Options tab, and click the Keyboard
button.)

--
Stefan Blom


"jodzeee" wrote in message
ups.com...
I tried that. All that does is clear all borders. I also tried

it
with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need to close

the
dialog box I'm opening in order to stop recording, which makes

the
macro do nothing. Maybe there's a way around this, I don't know

a
lot
about macros.

Is there a way to copy keyboard shortcuts from another template

like
styles and macros? I found something on the Internet that

someone
created but it didn't work for me. I think because it was for a
previous version of Word.

Any other advice?

Jodi










  #7   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Not present in Word 2003. Not listed in All Commands (or anywhere else that
I can find) either on the Commands tab or in the Customize Keyboard dialog.
It does seem very odd, since this would obviously make it impossible to
restore that menu command if it were inadvertently deleted (other than by
resetting the menu).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Yes, I tried it -- in Word 2000. Are you saying the command no longer
exists in recent versions of Word?

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Did you try this, Stefan? If that command were listed there, do you

think
this thread would exist?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Assign a keyboard shortcut to the FormatBordersAndShading built-in
Word command. You'll find it in the "All Commands" category in the
Customize keyboard dialog box. (You can open the dialog box via
ToolsCustomize, click the Options tab, and click the Keyboard
button.)

--
Stefan Blom


"jodzeee" wrote in message
ups.com...
I tried that. All that does is clear all borders. I also tried

it
with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need to close

the
dialog box I'm opening in order to stop recording, which makes

the
macro do nothing. Maybe there's a way around this, I don't know

a
lot
about macros.

Is there a way to copy keyboard shortcuts from another template

like
styles and macros? I found something on the Internet that

someone
created but it didn't work for me. I think because it was for a
previous version of Word.

Any other advice?

Jodi











  #8   Report Post  
Stefan Blom
 
Posts: n/a
Default

Strange, but it wouldn't be the first time that this has happened. I
believe in Word 97 the command to insert a frame (at least in one of
the categories) was called something entirely different.

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Not present in Word 2003. Not listed in All Commands (or anywhere

else that
I can find) either on the Commands tab or in the Customize Keyboard

dialog.
It does seem very odd, since this would obviously make it impossible

to
restore that menu command if it were inadvertently deleted (other

than by
resetting the menu).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Yes, I tried it -- in Word 2000. Are you saying the command no

longer
exists in recent versions of Word?

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Did you try this, Stefan? If that command were listed there, do

you
think
this thread would exist?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Assign a keyboard shortcut to the FormatBordersAndShading

built-in
Word command. You'll find it in the "All Commands" category in

the
Customize keyboard dialog box. (You can open the dialog box

via
ToolsCustomize, click the Options tab, and click the Keyboard
button.)

--
Stefan Blom


"jodzeee" wrote in message
ups.com...
I tried that. All that does is clear all borders. I also

tried
it
with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need to

close
the
dialog box I'm opening in order to stop recording, which

makes
the
macro do nothing. Maybe there's a way around this, I don't

know
a
lot
about macros.

Is there a way to copy keyboard shortcuts from another

template
like
styles and macros? I found something on the Internet that

someone
created but it didn't work for me. I think because it was

for a
previous version of Word.

Any other advice?

Jodi















  #9   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Yes, InsertFrame appeared in All Commands, but in the Insert category it was
called "Horizontal" (though it still had the frame icon).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Strange, but it wouldn't be the first time that this has happened. I
believe in Word 97 the command to insert a frame (at least in one of
the categories) was called something entirely different.

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Not present in Word 2003. Not listed in All Commands (or anywhere

else that
I can find) either on the Commands tab or in the Customize Keyboard

dialog.
It does seem very odd, since this would obviously make it impossible

to
restore that menu command if it were inadvertently deleted (other

than by
resetting the menu).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Yes, I tried it -- in Word 2000. Are you saying the command no

longer
exists in recent versions of Word?

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Did you try this, Stefan? If that command were listed there, do

you
think
this thread would exist?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Assign a keyboard shortcut to the FormatBordersAndShading

built-in
Word command. You'll find it in the "All Commands" category in

the
Customize keyboard dialog box. (You can open the dialog box

via
ToolsCustomize, click the Options tab, and click the Keyboard
button.)

--
Stefan Blom


"jodzeee" wrote in message
ups.com...
I tried that. All that does is clear all borders. I also

tried
it
with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need to

close
the
dialog box I'm opening in order to stop recording, which

makes
the
macro do nothing. Maybe there's a way around this, I don't

know
a
lot
about macros.

Is there a way to copy keyboard shortcuts from another

template
like
styles and macros? I found something on the Internet that
someone
created but it didn't work for me. I think because it was

for a
previous version of Word.

Any other advice?

Jodi
















  #10   Report Post  
Stefan Blom
 
Posts: n/a
Default

That's right, I now recall that the icon was the reason I could
identify it! And when I added it to a menu, it displayed the correct
menu caption...

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Yes, InsertFrame appeared in All Commands, but in the Insert

category it was
called "Horizontal" (though it still had the frame icon).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Strange, but it wouldn't be the first time that this has happened.

I
believe in Word 97 the command to insert a frame (at least in one

of
the categories) was called something entirely different.

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Not present in Word 2003. Not listed in All Commands (or

anywhere
else that
I can find) either on the Commands tab or in the Customize

Keyboard
dialog.
It does seem very odd, since this would obviously make it

impossible
to
restore that menu command if it were inadvertently deleted

(other
than by
resetting the menu).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Yes, I tried it -- in Word 2000. Are you saying the command no

longer
exists in recent versions of Word?

--
Stefan Blom


"Suzanne S. Barnhill" wrote in message
...
Did you try this, Stefan? If that command were listed there,

do
you
think
this thread would exist?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to

the
newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
Assign a keyboard shortcut to the FormatBordersAndShading

built-in
Word command. You'll find it in the "All Commands"

category in
the
Customize keyboard dialog box. (You can open the dialog

box
via
ToolsCustomize, click the Options tab, and click the

Keyboard
button.)

--
Stefan Blom


"jodzeee" wrote in message

ups.com...
I tried that. All that does is clear all borders. I also

tried
it
with
"Shading" in All Commands with the same result.

Also, I discovered I cannot make a macro because I need

to
close
the
dialog box I'm opening in order to stop recording, which

makes
the
macro do nothing. Maybe there's a way around this, I

don't
know
a
lot
about macros.

Is there a way to copy keyboard shortcuts from another

template
like
styles and macros? I found something on the Internet

that
someone
created but it didn't work for me. I think because it

was
for a
previous version of Word.

Any other advice?

Jodi





















  #11   Report Post  
jodzeee
 
Posts: n/a
Default

If I open my old template where I had the shortcut stored, I can
pretend I'm assigning the shortcut to something else and it says,
Currently assigned to: FormatBordersAndShading

and it works fine in that template.

But in my new normal.dot, this is NOT an option! How frustrating. I'm
sure there are others missing, but I'm focusing on this one right now
because I use it a lot!

Any ideas of how I could create a macro to bring up the dialog box and
assign a keyboard shortcut to that?

Jodi

  #12   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Unfortunately, *recorded* macros to open dialog boxes fail because you have
to actually do something in the dialog box for it to be recorded. If you
know the VBA you can probably *write* a macro to do it. (It would involve
the terms "Dialogs" and "Show," but beyond that, I'm clueless.)

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"jodzeee" wrote in message
ups.com...
If I open my old template where I had the shortcut stored, I can
pretend I'm assigning the shortcut to something else and it says,
Currently assigned to: FormatBordersAndShading

and it works fine in that template.

But in my new normal.dot, this is NOT an option! How frustrating. I'm
sure there are others missing, but I'm focusing on this one right now
because I use it a lot!

Any ideas of how I could create a macro to bring up the dialog box and
assign a keyboard shortcut to that?

Jodi


  #13   Report Post  
Klaus Linke
 
Posts: n/a
Default

This should do the trick. I add the button to the menu bar, since that's =
guaranteed to be visible.
But you can hold down the Alt key and then drag it onto any toolbar.

Dim myButton As CommandBarButton
Set myButton =3D CommandBars("Menu Bar").Controls.Add(ID:=3D3466)
myButton.Style =3D msoButtonCaption

Regards,
Klaus


"Suzanne S. Barnhill" wrote:
Unfortunately, *recorded* macros to open dialog boxes fail because you =

have
to actually do something in the dialog box for it to be recorded. If =

you
know the VBA you can probably *write* a macro to do it. (It would =

involve
the terms "Dialogs" and "Show," but beyond that, I'm clueless.)
=20
--=20
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the =

newsgroup so
all may benefit.
=20
"jodzeee" wrote in message
ups.com...
If I open my old template where I had the shortcut stored, I can
pretend I'm assigning the shortcut to something else and it says,
Currently assigned to: FormatBordersAndShading

and it works fine in that template.

But in my new normal.dot, this is NOT an option! How frustrating. =

I'm
sure there are others missing, but I'm focusing on this one right =

now
because I use it a lot!

Any ideas of how I could create a macro to bring up the dialog box =

and
assign a keyboard shortcut to that?

Jodi


  #14   Report Post  
jodzeee
 
Posts: n/a
Default

I don't understand what you are telling me to do here.

Jodi

  #15   Report Post  
Stefan Blom
 
Posts: n/a
Default

For instructions, please see:
http://word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm.

--
Stefan Blom


"jodzeee" wrote in message
oups.com...
I don't understand what you are telling me to do here.

Jodi







  #16   Report Post  
jodzeee
 
Posts: n/a
Default

Thank you. That helped me understand what to do with the code.

However, what I want is a keyboard shortcut to invoke the Borders &
Shading dialog box, not a button.

If I assign a shortcut to this macro, it just adds the button to my
menu bar each time I use the shortcut, it does not bring up the dialog
box.

Forgive me if there's something obvious here that I'm missing!

Jodi

  #17   Report Post  
Klaus Linke
 
Posts: n/a
Default

Hi Jodi,

Sorry, misread the problem. Usually you can assign a shortcut by using =
Alt + Ctrl + Num+ (hold Alt key plus Ctrl key plus the "+" key on the =
numeric keypad on the right), then clicking on the menu item or button. =
But that doesn't work here.

You would need a macro as Suzanne suggested:

Sub myFormatBordersAndShading()
Dialogs(wdDialogFormatBordersAndShading).Show
End Sub

Then go into "Tools Customize... (Commands tab) Keyboard =
shortcuts", choose "Category: Macros" and then your macro on the right.

(See http://word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm for more =
detail)

Greetings,
Klaus


"jodzeee" wrote:
Thank you. That helped me understand what to do with the code.
=20
However, what I want is a keyboard shortcut to invoke the Borders &
Shading dialog box, not a button.
=20
If I assign a shortcut to this macro, it just adds the button to my
menu bar each time I use the shortcut, it does not bring up the dialog
box.
=20
Forgive me if there's something obvious here that I'm missing!
=20
Jodi

  #18   Report Post  
jodzeee
 
Posts: n/a
Default

Thank you, that is EXACTLY what I wanted but didn't know how to do.

Of course...in the meantime, I found that instead of Borders and
Shading, the command exists in ALL COMMANDS BORDER LINE COLOR, which
also brings up the same dialog box.

Thank you Klaus, Stefan, and Suzanne !!!

Jodi

  #19   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Good lord! That's one we'll have to remember! It's as bad as Word 97 calling
InsertFrame "Horizontal" instead of "Frame." sigh

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"jodzeee" wrote in message
oups.com...
Thank you, that is EXACTLY what I wanted but didn't know how to do.

Of course...in the meantime, I found that instead of Borders and
Shading, the command exists in ALL COMMANDS BORDER LINE COLOR, which
also brings up the same dialog box.

Thank you Klaus, Stefan, and Suzanne !!!

Jodi


  #20   Report Post  
Stefan Blom
 
Posts: n/a
Default

You are welcome -- and thank you for the feedback.

But since you located the "lost" command, one might argue that you in
fact had to do the job yourself... :-)

--
Stefan Blom


"jodzeee" wrote in message
oups.com...
Thank you, that is EXACTLY what I wanted but didn't know how to do.

Of course...in the meantime, I found that instead of Borders and
Shading, the command exists in ALL COMMANDS BORDER LINE COLOR,

which
also brings up the same dialog box.

Thank you Klaus, Stefan, and Suzanne !!!

Jodi










  #21   Report Post  
jodzeee
 
Posts: n/a
Default

Yes, but I learned a lot about macros in the process!

You guys are great and I want you to know how much I appreciate the
attentiveness and expertise.

Jodi

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
keyboard shortcut style separator Kumasan Microsoft Word Help 3 February 27th 05 08:49 AM
Keyboard Shortcut Bullets Tommy Microsoft Word Help 4 January 26th 05 01:55 PM
Footnotes - Keyboard Shortcut Formatting Long Documents 5 January 14th 05 05:39 PM
Keyboard shortcut to repeat a search Bob Day Page Layout 1 January 12th 05 04:05 AM
is there a keyboard shortcut for the ENTER key macsig07 Microsoft Word Help 3 December 31st 04 02:53 AM


All times are GMT +1. The time now is 12:47 AM.

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"