-
Oh ok i have tried it and this is what i get when try
[VBA] Set WordDocument = CreateObject("Word.Application")
WordDocuments.documents.Open ("path")
WordDocuments.Visible = True
WordDocument.formfield("name").Result = ExcelInfo
[/VBA] i get run time error 438-Object dosen't support this proptery or method.
To let you know what going on i am trying to do is to read in excel data from the cells, then open a word template, then fill the word template formfield with the excel data while running the VBA code in excel. I got as far as open the word template but for some reason i cant get the excel data into the word template formfields. Any help will be greatly appreciated. Thanks for anything people can do or suggest.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules