R
Rafael Montserrat
OS 10.4.5
Word 2004
Hi
I was given this Macro code some time ago in order to resolve the "Missing
Paste Command". Now that I am in OS 10 I am trying to install it and I get
error messages:
"Sub PasteUnformattedText()" at the top is highlighted in yellow.
"Paste and Match the Formatting in the Destination Document" is in red type.
One of the articles I am using is HOW TO INSTALL A MACRO by By John McGhie
and Daiya Mitchell, in which it is suggested I go back to the newsgrooup for
a corrected phrasing (?) or help in creating this macro.
Right now, when I do Word>Close and return to word> I get a message:
MICROSOFT VISUAL BASIC "This Command Will Stop The Debugger"
All help appreciated.
Rafael
Sub PasteUnformattedText()
'
' equivalent to Edit>Paste Special>Unformatted Text and to using
' the smart button in Word 2004 to select "keep text only"
'
Selection.PasteSpecial datatype:=wdPasteText
End Sub
Paste and Match the Formatting in the Destination Document
Sub PasteDestFormat()
'
' equivalent to using the paste options smart button in Word 2004 to
' select "match destination formatting" after pasting
'
Selection.PasteAndFormat (wdFormatSurroundingFormattingWithEmphasis)
End Sub
Word 2004
Hi
I was given this Macro code some time ago in order to resolve the "Missing
Paste Command". Now that I am in OS 10 I am trying to install it and I get
error messages:
"Sub PasteUnformattedText()" at the top is highlighted in yellow.
"Paste and Match the Formatting in the Destination Document" is in red type.
One of the articles I am using is HOW TO INSTALL A MACRO by By John McGhie
and Daiya Mitchell, in which it is suggested I go back to the newsgrooup for
a corrected phrasing (?) or help in creating this macro.
Right now, when I do Word>Close and return to word> I get a message:
MICROSOFT VISUAL BASIC "This Command Will Stop The Debugger"
All help appreciated.
Rafael
Sub PasteUnformattedText()
'
' equivalent to Edit>Paste Special>Unformatted Text and to using
' the smart button in Word 2004 to select "keep text only"
'
Selection.PasteSpecial datatype:=wdPasteText
End Sub
Paste and Match the Formatting in the Destination Document
Sub PasteDestFormat()
'
' equivalent to using the paste options smart button in Word 2004 to
' select "match destination formatting" after pasting
'
Selection.PasteAndFormat (wdFormatSurroundingFormattingWithEmphasis)
End Sub