A
Alex
Hi,
use automation to print the relevent document based on the extention of
the document.
dim xwordobj As Word.Application
xwordobj.Documents.Open ("c:\myfile.doc")
xwordobj.ActiveDocument.PrintOut (False)
Do While xwordobj.BackgroundPrintingStatus > 0
DoEvents
Loop
xwordobj.Application.Quit (True)
Set xwordobj = Nothing
you will have to set a reference to the word type library in your
access database.
Excel uses a similar system to print, and adobe has a type library as
well.
Hope it helps
Regards
Alex
use automation to print the relevent document based on the extention of
the document.
dim xwordobj As Word.Application
xwordobj.Documents.Open ("c:\myfile.doc")
xwordobj.ActiveDocument.PrintOut (False)
Do While xwordobj.BackgroundPrintingStatus > 0
DoEvents
Loop
xwordobj.Application.Quit (True)
Set xwordobj = Nothing
you will have to set a reference to the word type library in your
access database.
Excel uses a similar system to print, and adobe has a type library as
well.
Hope it helps
Regards
Alex