View Single Post
 
Old 08-02-2021, 12:22 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,158
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Do you really want to lose fields, tables and graphics by pasting as plain text?

Perhaps another 'less destructive' way would be to remove formatting from the selection and insert text before and after it.
Code:
Sub Macro1()
  With Selection
    .ParagraphFormat.Reset
    .Font.Reset
    .Range.Style = ActiveDocument.Styles(wdStyleNormal)
    .InsertAfter "}}"
    .InsertBefore "{{c1::"
  End With
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote