Is there any other way of getting access to existing Word documents without creating a new Word document as reference to it?
I am trying to edit the properties in Word from VB.NET
I have the filnenames stored in a String array in one module, and was wondering if i could edit the properties with these filenames without creating a Word document
Example code: Public arrStringPath() As String
Dim i As Integer 'index for arrStringPath
Dim document As String
arrStringPath(i) = document 'document = "D:\Jones\test1\test2\test3\test00111.doc" on first loop
I then have another module that uses this array of filenames, is there anything else i can do to access the Word document properties apart from the following.............
Example code: Dim actDoc As Word.Document
Dim wordApp As New Word.Application
Dim intFileCount As Integer 'index for public arrStringPath
actDoc = wordApp.Documents.Open(arrStringPath(intFileCount))
I have recently posted a question("Opening a current Word document with filename in array") about this not working and would appreciate knowing if there is any way around it, thanks in advance.