Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
I don't understand what you are telling me to do here.
Jodi |
#15
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
keyboard shortcut style separator | Microsoft Word Help | |||
Keyboard Shortcut Bullets | Microsoft Word Help | |||
Footnotes - Keyboard Shortcut | Formatting Long Documents | |||
Keyboard shortcut to repeat a search | Page Layout | |||
is there a keyboard shortcut for the ENTER key | Microsoft Word Help |