had to change the single instance of 'strFile' to 'rtfFile' but that did the trick.
Quote:
Originally Posted by vivka
Hi, try replacing
wdDoc.range.InsertAfter rtfFile.range.text & vbCr
with:
wdDoc.range.InsertAfter strFile & vbCr & rtfFile.range.text & vbCr
|