In Access 97, want to know if it is possible to print an excel worksheet automatically. I have several reports that get printed on a regular basis. I have created an Access macro that is kicked off by a command button. Is there a procedure/process that I can incorporate into the macro to open excel, open a file, select the appropriate worksheet, print the active worksheet, close the file, close excel, and then return the focus to the command button that started the whole process?
Excel resides in the following location– “C:Program FilesMicrosoft OfficeOfficeEXCEL.EXE”
The data file resides in the following location– “D:My DocumentsPersonalExcelmovies.xls” and I want to print ‘Sheet1’.
Any help would be greatly appreciated.
Thanks steve69