A
Ana
Hi,
The below routine opens the file search window. How to point it directly to
say: \\server\folder\filename.txt?
TIA
Ana
Private Sub Comando0_Click()
On Error GoTo ErrHandler
DoCmd.RunCommand acCmdImport
ExitHandle:
Exit Sub
ErrHandler:
Select Case Err.Number
Case 2501
'Do nothing as cancel selected by user
Resume ExitHandle
Case Else
MsgBox Err.Number & vbCrLf & Err.Description
Resume ExitHandle
End Select
End Sub
The below routine opens the file search window. How to point it directly to
say: \\server\folder\filename.txt?
TIA
Ana
Private Sub Comando0_Click()
On Error GoTo ErrHandler
DoCmd.RunCommand acCmdImport
ExitHandle:
Exit Sub
ErrHandler:
Select Case Err.Number
Case 2501
'Do nothing as cancel selected by user
Resume ExitHandle
Case Else
MsgBox Err.Number & vbCrLf & Err.Description
Resume ExitHandle
End Select
End Sub