How to copy a file selected from CommonDialog to a destination?
How to copy a file selected from CommonDialog to destination?
I try to use
FileSystemObject.copyfile CommonDialog1.filename, DestinationPath
But it's not working.
Thanks!
Best Regards,
Kevin Shen
Re: How to copy a file selected from CommonDialog to a destination?
If the file is not currently open, you can use the FileCopy statement.
FileCopy CommonDialog1.filename, DestinationPath
Re: How to copy a file selected from CommonDialog to a destination?
Do you know how to set startpath of the Open CommonDialog?
Thanks!
Best Regards,
Kevin Shen
Re: How to copy a file selected from CommonDialog to a destination?
CommonDialog1.InitDir = "c:\my documents"