T
ThriftyFinanceGirl
I am automating an import of a text file each month and I need to let the
users pick the file... This is the function that I have so far BUT I don't
know how to call the windows common dialog control to allow them to set the
path. Any help would be appreciated....(Obiviously the code below the
location is hard coded and that is what I'm trying to fix.)
Function R5561115Import()
On Error GoTo R5561115Import_Err
DoCmd.TransferText acImportDelim, "R5561115ImportSpecs",
"R5561115Import", "C:\Documents and
Settings\kjarre1\Desktop\R5561115_06192009.txt", False, ""
R5561115Import_Exit:
Exit Function
R5561115Import_Err:
MsgBox Error$
Resume R5561115Import_Exit
End Function
users pick the file... This is the function that I have so far BUT I don't
know how to call the windows common dialog control to allow them to set the
path. Any help would be appreciated....(Obiviously the code below the
location is hard coded and that is what I'm trying to fix.)
Function R5561115Import()
On Error GoTo R5561115Import_Err
DoCmd.TransferText acImportDelim, "R5561115ImportSpecs",
"R5561115Import", "C:\Documents and
Settings\kjarre1\Desktop\R5561115_06192009.txt", False, ""
R5561115Import_Exit:
Exit Function
R5561115Import_Err:
MsgBox Error$
Resume R5561115Import_Exit
End Function