L
LA Lawyer
I am using VBA in Word 2007 to incorporate text onto a blank document from
another document, i.e., a letterhead.
This is my code:
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:=
_
"INCLUDETEXT ""n:\\wordforms\\letterhead.docx"" ",
PreserveFormatting:= _
True
This works OK except that the incorporated material get reformatting by
becoming double spaced instead of single spaced. I have tried changing the
default paragraph to single lines. That didn't work. I also tried changing
the PreserveFormatting between True and False. That didn't work either. I
also tried playing with the switches but none of them seemed to help.
What I am doing wrong? What is the fix?
another document, i.e., a letterhead.
This is my code:
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:=
_
"INCLUDETEXT ""n:\\wordforms\\letterhead.docx"" ",
PreserveFormatting:= _
True
This works OK except that the incorporated material get reformatting by
becoming double spaced instead of single spaced. I have tried changing the
default paragraph to single lines. That didn't work. I also tried changing
the PreserveFormatting between True and False. That didn't work either. I
also tried playing with the switches but none of them seemed to help.
What I am doing wrong? What is the fix?