Hi
I have a peice of code i use to import a .csv spreadsheet.
doCmd.TransferText acImportDelim,
"DailySpec", "c:\myfolder\import\daily_a.csv", False, ""
The drive letter C:\ may sometimes change according to the user specification
My module gets the specified letter - how do i use the variable in the previous statement...
ive tried many ways: including..
getDIR = D 'gets the specified drive
DIRAddress = getDIR & ":\myfolder\import\daily_a.csv", False, ""
doCmd.TransferText acImportDelim,
"DailySpec", DIRAddress, ""
Where am i going wrong - ive looked at this too long!!
Many thanks
I have a peice of code i use to import a .csv spreadsheet.
doCmd.TransferText acImportDelim,
"DailySpec", "c:\myfolder\import\daily_a.csv", False, ""
The drive letter C:\ may sometimes change according to the user specification
My module gets the specified letter - how do i use the variable in the previous statement...
ive tried many ways: including..
getDIR = D 'gets the specified drive
DIRAddress = getDIR & ":\myfolder\import\daily_a.csv", False, ""
doCmd.TransferText acImportDelim,
"DailySpec", DIRAddress, ""
Where am i going wrong - ive looked at this too long!!
Many thanks