icons in word

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

Guest

I wanted to add a toolbar button for "Paste-Special-Unformatted" text, but
according to Word Help, "Some commands don't have icons associated with them
and can only be displayed as text"

Is there a work-around?
 
Assign the following macro to a toolbar button - edit the toolbar name to
something concise - I use PasteUNF - or pick an icon from those available.

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

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

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
You can create your own image.

- Open Tools/Customize
- Right-click your toolbar command
- Select "Image Only"
- Right-click the command again and select one of the Image commands
listed.

Also, here's a article on creating custom images:
http://word.mvps.org/faqs/customization/CustomButtonImages.htm

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
I wanted to add a toolbar button for "Paste-Special-Unformatted" text, but
according to Word Help, "Some commands don't have icons associated with them
and can only be displayed as text"

Is there a work-around?


In general, Tools>Customize>right click. Use "Default Style" which means icon
only, and then change the icon to whatever you like.

For Paste Unformatted, you'll need a macro:

Sub PasteUnformattedText()
Selection.PasteSpecial Link:=False, DataType:=wdPasteText, Placement:= _
wdInLine, DisplayAsIcon:=False
End Sub

In the Tools>Customize dialog box, drag the macro to your toolbar, and then do
the icon thing.
 
Back
Top