rizabdullah
Registered User.
- Local time
- Today, 22:19
- Joined
- Mar 17, 2015
- Messages
- 15
Hi Guys
I am trying to open .XLSM excel file from Access module but I am getting error message "run time error -2147417846 (8001010a) automation error the message filter indicated that the application is busy".
My code is:
Function runExcelMacro(wkbookPath, macroName)
Dim objXLApp As Object
Dim objXLBook As Object
Set objXLApp = CreateObject("Excel.Application")
Set objXLBook = objXLApp.Workbooks.Open("K:\default\Access Routine\Final Files\Miniroll - Copy.xlsm")
objXLApp.Application.Visible = True
End Function
Can someone please advise...
Many thanks
I am trying to open .XLSM excel file from Access module but I am getting error message "run time error -2147417846 (8001010a) automation error the message filter indicated that the application is busy".
My code is:
Function runExcelMacro(wkbookPath, macroName)
Dim objXLApp As Object
Dim objXLBook As Object
Set objXLApp = CreateObject("Excel.Application")
Set objXLBook = objXLApp.Workbooks.Open("K:\default\Access Routine\Final Files\Miniroll - Copy.xlsm")
objXLApp.Application.Visible = True
End Function
Can someone please advise...
Many thanks