I have Userform to allow the entry of lot and bid information (auction information) into a worksheet from data supplied by the client over the phone. The Userform consists of two columns of textboxes that correspond to a range in the worksheet. Next to each row of checkboxes is a checkbox for 'Either' and a checkbox for 'Or' which enables the user to show whether the client would like to bid on 'Either' lot x 'Or' on lot y. When either is true, the lot text box will have the word 'Either' or 'Or' added to the front of the value textbox. If neither are true, then the lot stands alone. Only one checkbox per row can be true at a time, changing the other to false when checked.
The problem I have is working out how to change the other checkbox to false with one click when its state is true. I have code that will achieve this in two clicks in the attached - once to change the other checkbox to false and another click to change the clicked checkbox to true. This is demonstrated clearly in the attachment. What I need though is the one click change. Apart from this requirement, the attached sheet functions exactly as it should.
Further to this, the attached sample is only 10 rows when the actual Userform utilises 35 rows. 35 pairs of checkboxes ends up being very code heavy for the workbook and labour intensive! I would like to know if it is possible to have one macro to execute the checkbox change when called from any of the Either/Or checkboxes. I have deliberately named each textbox and checkbox so that each rows textbox and checkbox number goes up by an increment of 1 for each consecutive row to help facilitate a loop if this is possible.
My VBA skills are not amazing and I find I tend to over engineer things where much simpler code will do. I'm hoping that is the case here.
Any help would be greatly appreciated!