You just use the RunCode option in the called macro to run your public function doing your imports. Alternatively you can create an AutoExec macro that evaluates to passed argument in the command line call and runs the appropriate VBA code (this from MS site - replace the OpenForm with your import function calls):
Code:
Public Sub CheckCommandLine()
' Check the value returned by Command function and display
' the appropriate form.
If Command = "Orders" Then
DoCmd.OpenForm "Orders"
ElseIf Command = "Employees" Then
DoCmd.OpenForm "Employees"
Else
Exit Sub
End If
End Sub
Cheers,