A
AP
I have created a macro that uses an Excel spreadsheet to merge many
Excel files together. The spreadsheet has file name and location
information. I want to do the same for many Word documants. Currently
I have a Word macro that simply creates a new word document then just
adds and formats all the required documents.
What I want to do is add another tab on the Excel spreadsheet and have
all of the file name and location information for the Word documents
there and have Excel create the Word document. I have taken some code
from another post and it seems to almost work...
Dim wrdAPPnew As Word.Application
Dim wrdDOCnew As Word.Document
Set wrdAPPnew = CreateObject("Word.Application")
wrdAPPnew.Visible = True
With wrdDOCnew
Excel files together. The spreadsheet has file name and location
information. I want to do the same for many Word documants. Currently
I have a Word macro that simply creates a new word document then just
adds and formats all the required documents.
What I want to do is add another tab on the Excel spreadsheet and have
all of the file name and location information for the Word documents
there and have Excel create the Word document. I have taken some code
from another post and it seems to almost work...
Dim wrdAPPnew As Word.Application
Dim wrdDOCnew As Word.Document
Set wrdAPPnew = CreateObject("Word.Application")
wrdAPPnew.Visible = True
With wrdDOCnew