Access VBA를 통해 통합 문서를 열고 visible = False로 설정 한 다음 무언가를하고 닫습니다. 그러나 그것은 여전히 Taskmanager에서 실행 중입니다.Excel 통합 문서가 여전히 프로세스에서 실행중인 VBA 코드를 통해 닫았습니다.
Dim ExcelApp As New Excel.Application
Dim ExcelBook As New Excel.Workbook
Dim rng As Excel.Range
Dim rngDefine As Excel.Range
Set ExcelBook = ExcelApp.Workbooks.Open("C\temp\find.xlsm")
ExcelApp.Visible = False
'//Do something
ExcelApp.Quit
ExcelBook.Close SaveChanges:=False
Set ExcelBook = Nothing
Set ExcelApp = Nothing
Excel을 종료하기 전에 통합 문서를 닫습니다. –
@Doug Glancy 감사합니다. – vuyy1182