TroyMcClure72
MIS
Using transfer spreadsheet thus:
DoCmd.TransferSpreadsheet Filename:=FileNameCheck, TableName:="tblBG" & CStr(i) & "L2", Range:="'L4'!A11:S300", HasFieldNames:=True
I have a problem because I want to import the range "A11:S300" on a specific sheet: "L4". The problem is i don't know the syntax on how to do this, the example above doesn't work, can anyone help?
DoCmd.TransferSpreadsheet Filename:=FileNameCheck, TableName:="tblBG" & CStr(i) & "L2", Range:="'L4'!A11:S300", HasFieldNames:=True
I have a problem because I want to import the range "A11:S300" on a specific sheet: "L4". The problem is i don't know the syntax on how to do this, the example above doesn't work, can anyone help?