A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

creating a paste special unformatted shortcut button



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2009, 01:08 PM posted to microsoft.public.word.docmanagement
bob w
external usenet poster
 
Posts: 8
Default creating a paste special unformatted shortcut button

I would like to create a shortcut button on the toolbar for 'Paste special,
unformatted text'. This is a task I do a lot and a shortcut would save a lot
of time. I'm not sure how to create this, I suspect it needs VBA which I'm
not very good at !
Any suggestions would be welcome.

thanks
  #2  
Old April 29th, 2009, 01:59 PM posted to microsoft.public.word.docmanagement
grammatim[_2_]
external usenet poster
 
Posts: 2,788
Default creating a paste special unformatted shortcut button

Just three weeks ago, Graham Mayor answered this question for me --
and it works:

Add the following macro to a button on the QAT or keyboard shortcut.

Sub PasteUnfText()
On Error GoTo Oops
Selection.PasteSpecial DataType:=wdPasteText, _
Placement:=wdInLine
End
Oops:
Beep
End Sub


http://www.gmayor.com/installing_macro.htm


--

Graham Mayor - Word MVP


My web site www.gmayor.com
Word MVP web site http://word.mvps.org





On Apr 29, 8:08*am, Bob W Bob wrote:
I would like to create a shortcut button on the toolbar for 'Paste special,
unformatted text'. This is a task I do a lot and a shortcut would save a lot
of time. I'm not sure how to create this, I suspect it needs VBA which I'm
not very good at !
Any suggestions would be welcome.

thanks


  #3  
Old April 29th, 2009, 03:28 PM posted to microsoft.public.word.docmanagement
Stefan Blom
external usenet poster
 
Posts: 8,433
Default creating a paste special unformatted shortcut button

You can use this macro:

Sub PasteAsUnformatted()
On Error Resume Next
Selection.PasteSpecial DataType:=wdPasteText
End Sub

For assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP



"Bob W" Bob wrote in message
...
I would like to create a shortcut button on the toolbar for 'Paste special,
unformatted text'. This is a task I do a lot and a shortcut would save a
lot
of time. I'm not sure how to create this, I suspect it needs VBA which I'm
not very good at !
Any suggestions would be welcome.

thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:24 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.