cwbarrett
asked on
run FileCopy code from a string
Hi.
I am trying to build code for filecopy and cannot seem to build the command string properly. I have 3 strings with the following info:
destinationlocation (text field in a form containing "C:\%userprofile%\Dropbox\ <subfolder name>")
destinationfolder (text field in a form containing "<destination folder>" -- this is a sub-folder of "destinationlocation")
destinationfilename (text field in a form containing "<destinationfilename>"
What is the correct way to build a command string to execute this using VBA filecopy?
(note: Source file location and name is always the same... not in text field)
Thank for any help. Charlie
I am trying to build code for filecopy and cannot seem to build the command string properly. I have 3 strings with the following info:
destinationlocation (text field in a form containing "C:\%userprofile%\Dropbox\
destinationfolder (text field in a form containing "<destination folder>" -- this is a sub-folder of "destinationlocation")
destinationfilename (text field in a form containing "<destinationfilename>"
What is the correct way to build a command string to execute this using VBA filecopy?
(note: Source file location and name is always the same... not in text field)
Thank for any help. Charlie
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you're welcome, and awesome!
ASKER
Thank you. Worked out great.
you're welcome, Charlie ~ happy to help
ASKER