By clicking on a form's control, I want the on-click vba code to:
1. Create a new folder named 'L_Name' from the form's 'L_Name' field;
2. Next, copy a 'model' xlsx file in C: to that folder & save it as
'L_Name Roof'.xlsx;
3. Then transfer contents of form fields 'Name, Address, Location' to the 'L_Name Roof'.xlsx cells 'h1, h2, h3' without destroying the structure & data in the file and open the file for reviewing. (I know how to save it ha ha.) I Read a zillion forums, etc. and can't even get the 'mkdir' code to work in Access 2007 with OS win8 or 8.1. However, two weeks spent learning. So, once again I'm asking for help. Tnx in advance.
1. Create a new folder named 'L_Name' from the form's 'L_Name' field;
2. Next, copy a 'model' xlsx file in C: to that folder & save it as
'L_Name Roof'.xlsx;
3. Then transfer contents of form fields 'Name, Address, Location' to the 'L_Name Roof'.xlsx cells 'h1, h2, h3' without destroying the structure & data in the file and open the file for reviewing. (I know how to save it ha ha.) I Read a zillion forums, etc. and can't even get the 'mkdir' code to work in Access 2007 with OS win8 or 8.1. However, two weeks spent learning. So, once again I'm asking for help. Tnx in advance.