Beyond X said:
Thank you very much for your response.
I found that your suggestion worked in such a way that first copy a Web
text and then go to Edit/Paste Special and then paste to the document. But
it seems that I need these steps every time I copy. Is there a way to make
this step default so that I need not to visit Edit every time?
You can use a macro such as the following:
Sub PasteAsUnformatted()
On Error Resume Next
Selection.PasteSpecial datatype:=wdPasteText
End Sub
Add the macro to the Normal template and attach it to a toolbar button (see
http://www.gmayor.com/installing_macro.htm).
If you name the macro EditPaste (instead of PasteAsUnformatted) it will
intercept the standard paste command in Word in which case a toolbar button
is not needed (but note that this means that you will have to use Paste
Special if you want to copy and paste tables, for example).
Incidentally in an old version of Word (Version 6) pasting a copied text
is automatically converted to the default font. (If another font is
prefered, then select it and go to Font to change it.)
The behavior might very well depend on the version of Word but also on
whether you are pasting between Word documents or from an external
application. Note that Word 2007 allows you to choose the default paste
format (in the Advanced category of the Word Options dialog box). Leaving
the defaults should do what you want when pasting between Word documents, I
believe.
Also when I use Find command, I want to make Find Whole Words Only
default.
As far as I know, there is no built-in method to accomplish that. Ask in a
programming newsgroup such as microsoft.public.word.vba.general.