In a doc the fieldcode 'Fillin' is used.
When using this document in a vb script (in this case printing) a window wil
open and show the contens of the Fillin code.
I like to disable the filin code during printing;
========================================================
FileName="D:\KLANTEN\Stork\TESTENV\vb\jim.doc"
PrinterName = "STORKH08815"
Dim WordObj
' On Error Resume Next
Set WordObj = CreateObject("Word.Application")
' This doenst work :-) WordObj.Wdfieldtype.wdfieldfillin = False
WordObj.Documents.Open FileName
WordObj.ActivePrinter = PrinterName
WordObj.PrintOut
WordObj.Quit
===============================
Thnx
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200512/1