Thread
:
VBA in Excel: Add a new Word Document on Template (Type Mismatch Error))
View Single Post
03-29-2012, 09:10 AM
tinfanide
Windows 7 64bit
Office 2010 32bit
Expert
Join Date: Aug 2011
Posts: 312
Self-solved.
Code:
Dim oDoc As Word.Document ''' not Word.Documents
Code:
Word.Documents
is different from
Code:
Word.Document
.
Even though I don't know how it's different from the other one.
tinfanide
View Public Profile
Find all posts by tinfanide