Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Programatically convert a .doc to a .tif
I need to convert a word .doc to a .tif.
I can do it programatically but dont know how to get the Document Image Writer window closed. Heres my code - after it runs, i'm left with the Microsoft Office Document Imaging window showing my TIF. I dont want this displayed to the user. ______________________- Dim objWordApp As New Word.Application Dim sPrinter As String Dim sSaveFile As String objWordApp.Documents.Open filename:=sdocpath sSaveFile = "Test.TIF" With objWordApp ..Visible = False sPrinter = .ActivePrinter ..ActivePrinter = "Microsoft Office Document Image Writer on NE00:" ' Convert to a TIF ..ActiveDocument.PrintOut OutputFileName:=sSaveFile ..ActivePrinter = sPrinter End With objWordApp.Quit ConvertToTIF = sdocpath _____________________ Thanks - Joan |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
URGENT - convert file to .pdf or .tif or .eps | Microsoft Word Help | |||
How do I convert .pdf files to .doc files and .p65 to .pdf files | Page Layout | |||
convert from .doc to WPD | Microsoft Word Help | |||
How can I convert an AppleWorks .cwk file to an MS Word .doc file. | Microsoft Word Help |