I need help, :banghead: my brain has melted and I hope someone can assist.
I am trying to run the following code as a function in Access 2010:
Public Function OpenAMZOrder()
Dim xl As Object
'Step 1: Start Excel, then open the target workbook.
Set xl = CreateObject("Excel.Application")...