B
Bill
I am using an Access module to print a series of Word
files and Access reports from an icon on an Access
switchboard. I would like to add an Excel file to the
print list. Below is the statement I am using to print
the Word files. Can anyone assist me in creating a
statement to add to my module that will allow me to print
an Excel file called "C:\test\printfile.xls" from the same
icon on the Acess switchboard?
Dim WordObj As Object
Set WordObj = CreateObject("Word.Application")
WordObj.Documents.Open "C:\test\test.doc"
WordObj.PrintOut Background:=False
WordObj.Quit -1
files and Access reports from an icon on an Access
switchboard. I would like to add an Excel file to the
print list. Below is the statement I am using to print
the Word files. Can anyone assist me in creating a
statement to add to my module that will allow me to print
an Excel file called "C:\test\printfile.xls" from the same
icon on the Acess switchboard?
Dim WordObj As Object
Set WordObj = CreateObject("Word.Application")
WordObj.Documents.Open "C:\test\test.doc"
WordObj.PrintOut Background:=False
WordObj.Quit -1