vba - MS Word: Creating shortcut or toolbar button for the "Paste Special..Unformatted Text" option -


i have been playing while, closest have gotten button opens paste special dialog box , requires couple of mouse clicks paste contents of clipboard unformatted text.

so doing copy-paste web site document don't want additional baggage of html formatting, nice able shortcut key or toolbar button.

make button call macro:

public sub pastespecialunformatted()   selection.pastespecial datatype:=wdpastetext end sub 

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -