GiraffetheGeek
Board Regular
- Joined
- May 25, 2011
- Messages
- 58
Hi there all,
I have just ventured into creating and using UserForms.
I have a userform that has 80 textboxes on it that I want users to enter different information into.
The userform is called by a button on a sheet that has the code
I currently do not have any code in the userform_initialize function as at present I do not think I need it.
I have one button called "Close" that was the code
What I want to happen is for a user to enter data into the relevant text fields then be able to close the user form. When the come back at a later time to open the userform again I want the data they entered previously to still be there.
Currently this does not happen and when the userform is open for subsequent times the text boxes are blank and not pre-filled.
I could work out having all the data transfered to cells on the sheet that then would be hidden and then use the initialize function to enter them all again once it is opened again but am hoping there is an easier way, maybe a "save" function somewhere that I don't know about.
As mentioned before this is my first real foray into userforms so am learning on the fly.
Cheers in advance for your help
I have just ventured into creating and using UserForms.
I have a userform that has 80 textboxes on it that I want users to enter different information into.
The userform is called by a button on a sheet that has the code
Code:
Private Sub Btn_WorkBridge_Click()
Schedule_Workbridge.Show
End Sub
I currently do not have any code in the userform_initialize function as at present I do not think I need it.
I have one button called "Close" that was the code
Code:
Private Sub CommandButton1_Click()
Unload UserForm_WB
End Sub
What I want to happen is for a user to enter data into the relevant text fields then be able to close the user form. When the come back at a later time to open the userform again I want the data they entered previously to still be there.
Currently this does not happen and when the userform is open for subsequent times the text boxes are blank and not pre-filled.
I could work out having all the data transfered to cells on the sheet that then would be hidden and then use the initialize function to enter them all again once it is opened again but am hoping there is an easier way, maybe a "save" function somewhere that I don't know about.
As mentioned before this is my first real foray into userforms so am learning on the fly.
Cheers in advance for your help