Hi,
I am not sure if this is the right forum to ask this question. I hope someone recognise the issue.
I am making my reports (quite complicated for Access) in Excel. I invoke Excel from VBA Access. My issue is that on some (not all) computers I get error on line "Set gappExcel = New Excel.Application"
Prerequisites:
- Reference to Excel "Microsoft Excel 16.0 Object Library"
- Everyone has Excel 2016 & Acess 2016 where tested. (If different versions it might be a Early/Late binding issue. But everyone has the same version. For info I have used Early Binding)
My code:
Code:
Public gappExcel As Excel.Application
Sub OpenExcelApplication()
'On some computer there is Run-Time 13 here
Set gappExcel = New Excel.Application
End Sub
Anyone having an idea what to do?