I am very new to all this technical stuff, but I am trying to format an excel spreadsheet via access vba but getting an error. Can some one please advice?
My code is:

Code:
Private Sub Command3_Click()
DoCmd.Hourglass True
DoCmd.SetWarnings False
    'On Error GoTo ErrHandler:
' *************** RUN EUR RI DATA RECON ********************

    Dim objXL As Object
    Dim strWin As String
...