Word 2003 Paste Options

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to set up the paste command so that the defaul is to paste as
unformatted text?
 
You could use a macro that is executed instead of the built-in Paste command.
However, I recommend that you keep the Paste command unchanged and assign the
macro to a toolbar button or a keyboard shortcut so that it is easy to run.
You can use the macro below:

Sub PasteUnformattedText()
On Error GoTo ErrorHandler
Selection.PasteSpecial DataType:=wdPasteText
Exit Sub
ErrorHandler:
Beep
End Sub

Note: If you change the macro name to "EditPaste", it will run instead of
the built-in Paste command.

For help on installing a macro, assigning a macro to a toolbar and assigning
a keyboard shortcut, see:
http://www.gmayor.com/installing_macro.htm
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 
Thank you so much. That worked great.

Lene Fredborg said:
You could use a macro that is executed instead of the built-in Paste command.
However, I recommend that you keep the Paste command unchanged and assign the
macro to a toolbar button or a keyboard shortcut so that it is easy to run.
You can use the macro below:

Sub PasteUnformattedText()
On Error GoTo ErrorHandler
Selection.PasteSpecial DataType:=wdPasteText
Exit Sub
ErrorHandler:
Beep
End Sub

Note: If you change the macro name to "EditPaste", it will run instead of
the built-in Paste command.

For help on installing a macro, assigning a macro to a toolbar and assigning
a keyboard shortcut, see:
http://www.gmayor.com/installing_macro.htm
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 

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

Back
Top