I am copying a new folder from a master and I need to rename it based on a variable passed from a form. I have checked and I am passing the variable just fine. I am also able to create the folder just fine using fso.copyfolder. I can only copy it to predetermined name so......
1) Can I create a new folder using the fso.copyfolder method and have it use a variable for a name?
ex. fso.copyfolder "C:\oldfolder","C:\formvariable"
or if that won't work,
2) Can I first create the folder and then rename it based on a variable I passed from a form?
or if that won't work,
What will?
Thanks for your help in advance.
1) Can I create a new folder using the fso.copyfolder method and have it use a variable for a name?
ex. fso.copyfolder "C:\oldfolder","C:\formvariable"
or if that won't work,
2) Can I first create the folder and then rename it based on a variable I passed from a form?
or if that won't work,
What will?
Thanks for your help in advance.