I'm creating a worksheet for my wife to manage a roster for her bootcamp clientele. I have successfully created the userform that runs from a macro button for adding new clients to the roster. When running the userform VBA, several data fields are generated for each new client in several columns of a single row (name, email, phone number, etc). I am trying to create an individual worksheet for each client on the roster, based on a standard template (currently titled "Measurements"), using the userform. Here is what I am hoping the userform or macro to do:
- Upon adding a new client using the userform, copy the "measurements template" worksheet with a new worksheet name equal to the client's full name (the client's full name would be in cell B3 of the new client measurements worksheet and would be linked to the corresponding worksheet cell on the "roster" worksheet [in column "A"]).
I've reached a bit of an impass for copying the template worksheet based on the newly added client using the userform. I do intend to polish the macro for the roster worksheet to re-sort the clientele alphabetically... but that's easy stuff. Haven't done a lot with userforms, and I'm a bit rusty on what code to use for copying and renaming worksheets. I'm also curious if it is possible to re-sort the worksheets in alphabetical order after adding a new client (this isn't essential though). I would also like to create a hyperlink on each clients name of the "roster" worksheet that opens their corresponding "measurements" worksheet.
Any help would be greatly appreciated. I have stored a copy of the worksheet at the following: http://dl.dropbox.com/u/37265601/TFC/TFC_Roster-Data.xlsm
This forum is awesome and I truly appreciate you all who contribute. Blessings!
Jeff
- Upon adding a new client using the userform, copy the "measurements template" worksheet with a new worksheet name equal to the client's full name (the client's full name would be in cell B3 of the new client measurements worksheet and would be linked to the corresponding worksheet cell on the "roster" worksheet [in column "A"]).
I've reached a bit of an impass for copying the template worksheet based on the newly added client using the userform. I do intend to polish the macro for the roster worksheet to re-sort the clientele alphabetically... but that's easy stuff. Haven't done a lot with userforms, and I'm a bit rusty on what code to use for copying and renaming worksheets. I'm also curious if it is possible to re-sort the worksheets in alphabetical order after adding a new client (this isn't essential though). I would also like to create a hyperlink on each clients name of the "roster" worksheet that opens their corresponding "measurements" worksheet.
Any help would be greatly appreciated. I have stored a copy of the worksheet at the following: http://dl.dropbox.com/u/37265601/TFC/TFC_Roster-Data.xlsm
This forum is awesome and I truly appreciate you all who contribute. Blessings!
Jeff