sn152
Member
Good Morining All,
I am trying to transfer data from a userform to a worksheet. I am able to transfer the data that is in the textboxes. But Iam unable to get the data for option button transfered to sheet1.
Let me explain it in detail.
I have a userform with 2 textboxes, 5 option buttons and 2 command buttons(Submit and retrieve). Now what I want to do is when I enter the Emp ID in the textbox1,and emp name in textbox2 and then I will select one of the option buttons and then i will click Submit. When I click submit this data should be transfered to sheet1 in the respective columns for optionbuttons - the data should be shown in the column "D" of sheet1).
When I enter the ID and click retrieve it should pull the existing data in sheet1 to the userform.
Kindly help me with this.
Thanks in advance.
I am trying to transfer data from a userform to a worksheet. I am able to transfer the data that is in the textboxes. But Iam unable to get the data for option button transfered to sheet1.
Let me explain it in detail.
I have a userform with 2 textboxes, 5 option buttons and 2 command buttons(Submit and retrieve). Now what I want to do is when I enter the Emp ID in the textbox1,and emp name in textbox2 and then I will select one of the option buttons and then i will click Submit. When I click submit this data should be transfered to sheet1 in the respective columns for optionbuttons - the data should be shown in the column "D" of sheet1).
When I enter the ID and click retrieve it should pull the existing data in sheet1 to the userform.
Kindly help me with this.
Thanks in advance.