Hi VincentBrown,
I've been away for 3 1/2 months, hence the delay in replying.
Is there a reason for not using the code as supplied in post #2? Assuming you're running the macro in Word, at most, you might need to change:
wdDoc.Range.InsertAfter txtFile.Range.Text & vbCr
to:
wdDoc.Range.InsertAfter txtFile.Range.Text & vbCr & Chr(12)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|