Thread
:
How to import multiple text file data into word
View Single Post
09-15-2023, 10:27 PM
macropod
Windows 10
Office 2016
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
You could change:
wdDoc.Range.InsertAfter txtFile.Range.Text & vbCr
to:
wdDoc.Range.InsertAfter txtFile.Name & vbCr & txtFile.Range.Text & vbCr
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Find all posts by macropod