Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Lucky Green Lucky Green is offline
external usenet poster
 
Posts: 1
Default How to default to "Unformatted Text" in "Paste Special" in Word 20

I like the fact that Word 2007 includes €śPaste Special€ť in the Ribbon.
However, this only solves half of the old problem with Paste Special. The
other half of the problem is that Paste Special does not default to pasting
unformatted text, the primary reason why one generally uses Paste Special in
the first place.

Is there any way to a) make the selection of Unformatted Text €śsticky€ť so it
does not have to be selected on each paste? And b) is there a way to create a
keyboard shortcut to Paste Special - Unformatted Text. Lastly, c) is there a
way to assign the Paste Special - Unformatted Text combination to the Quick
Access Toolbar?

Thanks,
--Lucky


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
TedMi TedMi is offline
external usenet poster
 
Posts: 155
Default How to default to "Unformatted Text" in "Paste Special" in Word 20

Copy some text into the clipboard, then record this series of mouse clicks
into a macro:
Edit, Paste Special, Unformatted Text, OK
Give the macro a name.
Assign this macro to a keyboard shortcut - I use Ctl-Shift-V
See Word help for information on now to create shortcuts
--
Ted

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Lucky Green Lucky Green is offline
external usenet poster
 
Posts: 1
Default How to default to "Unformatted Text" in "Paste Special" in Wor

TedMi,
Unfortunately, recording a marcro for Paste Special - Unformatted Text does
not work in Word 2007 as described.

Recording the macro creates the following VB code:

SelectionPasteAndFormat (wdPasteText)

However, executing the macro via CTL-SHIFT-V simply pastes formatted text.

I also tried using SelectionPasteAndFormat DataType:=wdPasteText, which Word
2007 rejected outright.

Suggestions are appreciated,
--Lucky
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
garfield-n-odie [MVP] garfield-n-odie [MVP] is offline
external usenet poster
 
Posts: 2,587
Default How to default to "Unformatted Text" in "Paste Special" in Wor

In Word 2003 and earlier, it's a known issue that the macro
recorder yields incorrect results when recording the paste
special as unformatted text command. Instead, try using:

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 to make it easy to run. See:
http://www.gmayor.com/installing_macro.htm
http://word.mvps.org/FAQs/Customizat...oToToolbar.htm
http://word.mvps.org/FAQs/Customizat...roToHotkey.htm .

These instructions were written for Word 2003 and earlier, and I
don't have Word 2007, so you'll have to experiment a bit to see
how much of this you can use in Word 2007.


Lucky Green wrote:

TedMi,
Unfortunately, recording a marcro for Paste Special - Unformatted Text does
not work in Word 2007 as described.

Recording the macro creates the following VB code:

SelectionPasteAndFormat (wdPasteText)

However, executing the macro via CTL-SHIFT-V simply pastes formatted text.

I also tried using SelectionPasteAndFormat DataType:=wdPasteText, which Word
2007 rejected outright.

Suggestions are appreciated,
--Lucky


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
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 22 May 20th 23 08:51 PM
Converting WordPerfect 12 files to Word 2003 Curious New Users 4 May 19th 23 02:48 PM
Reveal codes in a word document FUN101 Microsoft Word Help 4 May 16th 23 08:47 PM
I am having difficulty with deleting headers and footers LHD New Users 5 July 24th 06 01:44 AM
hard space between words. Sandy L Microsoft Word Help 7 May 5th 06 08:25 PM


All times are GMT +1. The time now is 11:16 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"