Hi there
I'm trying to get my head around making a user form and getting confused how it all glues together from google and utube various code.
I have made a form called UserForm1 and I'm just starting with 6 entries into a sheet called data.
On my UserForm1 I have the following
cmb1 - I need the choice to be entered into sheet called Data in cell C5
tb1 - this is date from label and I need format to be "dd/mmm/yy" and to go to cell E5
tb2 - this is date to label and I need format to be "dd/mmm/yy" and to go to cell F5
Lb1 - this is a list box i made and I need the choice made to go to cell H5
tb3 - this hours claimed and should be a value and entry should go to cell I5
tb4 - this is hours claimed and should be value of either 15,30 or 45 and then go to cell J5
I then need the form to clear once an entry submitted so another can then be made and then find the next blank cell down within sheet Data for next entry
I would need a submit button
One to open form and one to close
I have the form set up but I cannot seem to get the code to make this work and hoping someone would be kind enough to help.
I'm trying to understand better and think just need lick start and then I will expand and learn more.
I have spent many hours trying all sorts and am now just confused as I'm using bits of code from various sources and none gels.
I'm hoping this would be easy enough for someone for these 6 entries and help me on the rung of being able to utilise user forms.
Any help at all would be greatly appreciated
regards
ian
I'm trying to get my head around making a user form and getting confused how it all glues together from google and utube various code.
I have made a form called UserForm1 and I'm just starting with 6 entries into a sheet called data.
On my UserForm1 I have the following
cmb1 - I need the choice to be entered into sheet called Data in cell C5
tb1 - this is date from label and I need format to be "dd/mmm/yy" and to go to cell E5
tb2 - this is date to label and I need format to be "dd/mmm/yy" and to go to cell F5
Lb1 - this is a list box i made and I need the choice made to go to cell H5
tb3 - this hours claimed and should be a value and entry should go to cell I5
tb4 - this is hours claimed and should be value of either 15,30 or 45 and then go to cell J5
I then need the form to clear once an entry submitted so another can then be made and then find the next blank cell down within sheet Data for next entry
I would need a submit button
One to open form and one to close
I have the form set up but I cannot seem to get the code to make this work and hoping someone would be kind enough to help.
I'm trying to understand better and think just need lick start and then I will expand and learn more.
I have spent many hours trying all sorts and am now just confused as I'm using bits of code from various sources and none gels.
I'm hoping this would be easy enough for someone for these 6 entries and help me on the rung of being able to utilise user forms.
Any help at all would be greatly appreciated
regards
ian