K
Kev
Can anyone help me out with this one?
I am trying to populate a spreadsheet with some data from Access. All code resides in Access. My problem is after I run the code below; Excel continues to run in the background. I have tried to delete the Quit Method and set the Visible Property to True and then manually close the application. But when I check the Task Manager, I still find Excel.exe running in the background.
Dim xlJEs As Excel.Application
Set xlJEs = New Excel.Application
xlJEs.Workbooks.Open strJETemplate
strSaveAsJeName = "JrnlEntrySalesTax" & Year(Date) & Month(Date) & ".xls"
ActiveWorkbook.SaveAs Filename:="C:\PS\84Jrnl_Uploads\" & strSaveAsJeName, FileFormat:=xlNormal
xlJEs.Application.Quit
Set xlJEs = Nothing
Does anyone have any ideas?
Thanks,
Kev
I am trying to populate a spreadsheet with some data from Access. All code resides in Access. My problem is after I run the code below; Excel continues to run in the background. I have tried to delete the Quit Method and set the Visible Property to True and then manually close the application. But when I check the Task Manager, I still find Excel.exe running in the background.
Dim xlJEs As Excel.Application
Set xlJEs = New Excel.Application
xlJEs.Workbooks.Open strJETemplate
strSaveAsJeName = "JrnlEntrySalesTax" & Year(Date) & Month(Date) & ".xls"
ActiveWorkbook.SaveAs Filename:="C:\PS\84Jrnl_Uploads\" & strSaveAsJeName, FileFormat:=xlNormal
xlJEs.Application.Quit
Set xlJEs = Nothing
Does anyone have any ideas?
Thanks,
Kev