hello, and thanks in advance.<\/p>\n
i am very rusty, I used to use Access all the time, but that was many years and many version ago…<\/p>\n
I made a table and a form, I wish to use data in a form field to create and name a folder.<\/p>\n
ie… on the form, I have a field for client<\/p>\n
I wish to create a button macro? that will create a folder name %client%<\/p>\n
then I have about 6 word documents all named A_template, B_template, C_template<\/p>\n
I wish to create a macro? that will:<\/p>\n
copy A_template c:\\clients%client%\\A_%client%<\/p>\n
copy B_template c:\\clients%client%\\B_%client%<\/p>\n
copy C_template c:\\clients%client%\\C_%client%<\/p>\n
the question is: do I create a macro? a batch file? or…grrrrr…code? (not much of a coder)<\/p>\n
thanks in advance!<\/p>","upvoteCount":4,"answerCount":4,"datePublished":"2014-05-22T17:44:46.000Z","author":{"@type":"Person","name":"narcmann401","url":"https://community.spiceworks.com/u/narcmann401"},"acceptedAnswer":{"@type":"Answer","text":"
In the form design view create a button.<\/p>\n
In the on click event of the button add some VBA in there and it it should be pretty simple.<\/p>\n
Here is a link on creating a folder in vba.(Dont forget the reference mentioned.)<\/p>\n