View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Toolbar in Word 2003 doesn't seem to work

There won't be any macros listed until you create them?
Type the name PasteUnfText in the dialog and select 'create'.
The vba editor will then open at that macro name. Select the empty macro
that the editor has created and paste the macro listing in its place.

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


You can then add the macro to a toolbar button.
Whether Paste alone will work depends on what you are trying to paste from
the internet and the security updates installed on your PC.


--

Graham Mayor - Word MVP

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



Diannascats wrote:
Thank you Graham. Please excuse my ineptness! When I click on
"macros" then "macros" from the drop down window there are no macros
listed. It just says, "All active templates and macros" toward the
bottom. I'm sorry -- I don't know how to follow through with your
directions even though I read -- and tried to follow -- the
directions for macros you created on the web page I accessed through
the link you gave me.

Any more help would be greately appreciated. Oh, it does work when I
use Edit Paste special unformatted text." Why did it work for so
long NOT using this method?? (Using just plain "paste.")

"Graham Mayor" wrote:

Use Edit Paste Special - unformatted text or the following macro

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



Diannascats wrote:
Hi -- I used to be able to copy material from a web site (strictly
for personal use only -- I'm not infringing upon any copywrite
laws) and paste it onto a Word doc. Now, when I click on "paste"
it just hourglasses forever until I finally have to turn off my
computer. I had Office 2003 Small Business Edition "repaired" and
that didn't help. I use Windows XP Professional, my computer is
one year old. The processor works at 2.8 GHz. Any help would be
greatly appreciated.