samsmithnz
Well-known member
Im trying to create a document in .NET with automation:
Im having problems with the add part, where are the document types defined and how do I use them? All I can find is this: (see attachement). This part of .NET is so underdocumented...
Code:
Dim objWord As Microsoft.Office.Interop.Word.Application
Dim objTempDoc As Microsoft.Office.Interop.Word.Document
objWord = New Microsoft.Office.Interop.Word.Application
objTempDoc = objWord.Documents.Add()
Im having problems with the add part, where are the document types defined and how do I use them? All I can find is this: (see attachement). This part of .NET is so underdocumented...