Disabling Keyboard Commands

F

Fred

Is it possible to disable a keyboard command? I'm importing text from a
series of badly formatted documents into a nice clean, new template. I will
be doing a lot of cutting from the old and pasting into the new, but I want
to use Paste Special so I don't bring any nasty stuff from the old documents.

Is there a way to temporarily disable the Cntl-V command for pasting? Old
habits are hard to get over, and I know that I'll use the keyboard command
out of habit if I don't think about it.
 
G

garfield-n-odie [MVP]

You can remove Ctrl+V as the keyboard shortcut for Edit->Paste in
Word by clicking on Tools | Customize | Keyboard | Categories:
Edit | Commands: EditPaste | Current keys: Ctrl+V | Remove |
Close. Ctrl+V will remain disabled until until you change it back.

Then you can create a macro that pastes as unformatted text:

Sub PasteUnfText()
On Error GoTo oops
Selection.PasteSpecial DataType:=wdPasteText
End
oops:
Beep
End Sub

and then assign the macro to a toolbar button or a keyboard
shortcut (such as Ctrl+V) to make it easy to run. See:
http://www.gmayor.com/installing_macro.htm
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top