Hi, I'm new to forms and a beginner on VBA, so struggling with a VBA to make a user form fill in specific cells in a sheet. I have created the form and now I want to get the data from the fields into the cells on the worksheet and if the cells in the worksheet have data in them for this to be shown in the form fields. I have set up a button in the worksheet to show the userform and I want a button on the userform to save the workbook once the fields have been filled in. Not all the fields will have data in them. I also want a button to close the form once the user has finished. Below shows the location I want the data to end up(Column C) and the names of the fields(Column B) in the form. I haven't really got any VBA so far that is worth posting as I'm lost to start with!
Book1 | |||
---|---|---|---|
B | |||
83 | Rail Wall 1 | ||
84 | Rail Wall 2 | ||
85 | Rail Wall 3 | ||
86 | Left Wall 1 | ||
87 | Left Wall 2 | ||
88 | Left Wall 3 | ||
89 | Right Wall 1 | ||
90 | Right Wall 2 | ||
91 | Right Wall 3 | ||
92 | Opp Wall 1 | ||
93 | Opp Wall 2 | ||
94 | Opp Wall 3 | ||
Questions |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B83 | Rail Wall 1 | |
B84 | Rail Wall 2 | |
B85 | Rail Wall 3 | |
B86 | Left Wall 1 | |
B87 | Left Wall 2 | |
B88 | Left Wall 3 | |
B89 | Right Wall 1 | |
B90 | Right Wall 2 | |
B91 | Right Wall 3 | |
B92 | Opp Wall 1 | |
B93 | Opp Wall 2 | |
B94 | Opp Wall 3 |