L
Lamar
A user hits a cmd button then I want Access to create a
new folder and then output files to the newly created
folder.
Here is the code to create the new folder.
'Creates new folder
MkDir "C:\HousAuth\" & Format(Now, "mmmdyyhhnn") & Left
(cmbHA, 3) & Left(cmbESDStaff, 3)
How do I output the files to the newly created folder?
The issue is you can not give a specific path because
everytime the cmd button is hit then Access creates new
folder.
The file would have to sent to: "C:\HousAuth\" & Format
(Now, "mmmdyyhhnn") & Left(cmbHA, 3) & Left(cmbESDStaff,
3) but it does not work.
the name changes.
Thank you very much.
new folder and then output files to the newly created
folder.
Here is the code to create the new folder.
'Creates new folder
MkDir "C:\HousAuth\" & Format(Now, "mmmdyyhhnn") & Left
(cmbHA, 3) & Left(cmbESDStaff, 3)
How do I output the files to the newly created folder?
The issue is you can not give a specific path because
everytime the cmd button is hit then Access creates new
folder.
The file would have to sent to: "C:\HousAuth\" & Format
(Now, "mmmdyyhhnn") & Left(cmbHA, 3) & Left(cmbESDStaff,
3) but it does not work.
the name changes.
Thank you very much.