View Single Post
 
Old 09-14-2023, 01:56 PM
knpaddac knpaddac is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2018
Posts: 13
knpaddac is on a distinguished road
Default

had to change the single instance of 'strFile' to 'rtfFile' but that did the trick.



Quote:
Originally Posted by vivka View Post
Hi, try replacing
wdDoc.range.InsertAfter rtfFile.range.text & vbCr
with:
wdDoc.range.InsertAfter strFile & vbCr & rtfFile.range.text & vbCr
Reply With Quote