isladogs
Access MVP / VIP
- Local time
- Today, 17:28
- Joined
- Jan 14, 2017
- Messages
- 19,311
Ah I see...
Then in that case, you need to include that part as some kind of variable
e.g. a long integer called lngFolder
Obviously I have no way of knowing how you get that info.
Perhaps you can read that info from the folder name using VBA but how would it know where to look?
Otherwise you'll need to enter it manually
Then in that case, you need to include that part as some kind of variable
e.g. a long integer called lngFolder
Obviously I have no way of knowing how you get that info.
Perhaps you can read that info from the folder name using VBA but how would it know where to look?
Otherwise you'll need to enter it manually
Code:
Dim lngFolder As Long
path1 = "E:\Import\Folder1\Daily download folder\ICCSC01001026" & Format(Date, "yymmdd") & lngFolder & ".txt"