Reply:
I finally got to try "Object" in Access 2016. Didn't work, excel receives and provides new results, but won't export because excel doesn't open close. this is how I modified my code:
Dim xl As Object, WB As Object '
Set xl = CreateObject("Excel.Application")
Set WB =...