I'm stuck while dealing with Word Fill-In fields in VB. I have a
small application that opens a Word document and prints it to the
default printer. Here's what I have:
Dim oWord_App As Word.Application
Set oWord_App = New Word.Application
oWord_App.Documents.Open "C:\test.doc"
This code opens the document just fine. The Word document uses Fill-
In fields. When I run the program, the fill-in fields look for a
response from the user. The problem is that this app needs to sit on
a server, so I need to open the document without the fill-in fields.
While searching today, I found the line:
oWord_app.Documents(0).Fields.Locked = true
but it's a catch22.... I can't lock the fields until the document is
open, but I can't open the document until I disable the fields......
In the end, I need to find a way to open the Word document without
initializing the Fill-Ins... By the way, I can't remove the Fill-In
fields from the Word Document.... they are required by some of our
end
users.
Thanks for the help.......
Archived from group: microsoft>public>vb>ole>automation