A family of Microsoft relational database management systems designed for ease of use.
Because you are already using VBA code then you could add code like the following to open the workbook with Excel and Save it prior to the import line of code.
Sub test2()
Dim xlApp As Object
Dim wkb As Object
Dim wks As Object
Dim sFileName As String
Dim xlAlreadyOpen As Boolean
On Error Resume Next
Set xlApp = GetObject(, "Excel.Application") 'If Excel already open then use the already open instance.
On Error GoTo 0
If xlApp Is Nothing Then 'Excel was not already open
Set xlApp = CreateObject("Excel.Application")
Else
xlAlreadyOpen = True 'Used to determine whether to Quit Excel (Don't Quit if already open)
End If
sFileName = "C:\Users\User\Documents\Excel\Test Macros\Import to Access.xlsx"
'xlApp.Visible = True 'Optional. If NOT visible user does not see Excel open
Set wkb = xlApp.Workbooks.Open(sFileName)
'Set wks = wkb.Worksheets(1) 'Optional
'Set wks = wkb.Worksheets("Sheet1") 'Optional. Alternative to previous line
'wks.Activate 'Optional
wkb.Save
wkb.Close
Set wks = Nothing
Set wkb = Nothing
If xlAlreadyOpen = False Then 'Don't Quit if Excel was already open
xlApp.Quit
End If
Set xlApp = Nothing
'Your import code goes here. Your Import code NOT tested
'DoCmd.TransferSpreadsheet acImport, , sTableName, sFileName, True
End Sub