Question : VBA syntax to include a specific directory and a selected file

I am trying to provide a file selection (Combo1) from the same directory but the below code can't find the file.  This code is included on a button where I have a selection drop-down button that allows users to chose the file (Combo1) and the drop-down works well.
Dim sSource As String
Dim sDest As String
Dim sHist As String
 
sSource = "S:\Finance\Accounting Operations\National Accounts\AR Module\AR MONTHLY PREMIUM\ApplicationsImported\" & Forms![FrmMain]![Combo1]
sDest = "S:\Finance\Accounting Operations\National Accounts\AR Module\AR MONTHLY PREMIUM\ApplicationsImported"
sHist = "S:\Finance\Accounting Operations\National Accounts\AR Module\AR MONTHLY PREMIUM\ApplicationsImported\ApplicationsHistory"

FileCopy "sDest" & "sSource", "sDest" & "ADMINIMPORT.txt"
FileCopy "sDest" & "sSource", "sHist" & Forms![FrmMain]![Combo1]

Answer : VBA syntax to include a specific directory and a selected file

change this


FileCopy "sDest" & "sSource", "sDest" & "ADMINIMPORT.txt"
FileCopy "sDest" & "sSource", "sHist" & Forms![FrmMain]![Combo1]

to


FileCopy sSource & Forms![FrmMain]![Combo1], sDest  & "\" & "ADMINIMPORT.txt"
FileCopy sSource & Forms![FrmMain]![Combo1], sHist & "\" & Forms![FrmMain]![Combo1]
Random Solutions  
 
programming4us programming4us