Limited VBA experience. Trained in structured languages 30 years ago.
I have a userform with a 6 tab multipage control.
On any page, there are several check boxes.
How do I loop through all check boxes (cb_anything) on a given page, i.e.: Me.Multipage1.Pages(5), being able to check/uncheck each cb an unlimited amount of times, and, depending on what's checked, if those cb.values = TRUE, then [I99].Value = 1, [I103].Value = 1, etc. The values would be set ONLY When I move off the page, either to another page on Multipage1.Pages(5) or another control on the userform.
To say it another way, on the active page, let me check or uncheck anything I want; what's checked when I leave the page, those TRUE values trigger cell values to set to 1.
I think after I move off the page by another action, I will set the property of the just executed page to Enabled=FALSE. I have a master reset cmd button on the page that will allow start over.
I'm brand new to this forum, so forgive if this is a very "noob" and basic structure. Apologies in advance. Help appreciated.
I have a userform with a 6 tab multipage control.
On any page, there are several check boxes.
How do I loop through all check boxes (cb_anything) on a given page, i.e.: Me.Multipage1.Pages(5), being able to check/uncheck each cb an unlimited amount of times, and, depending on what's checked, if those cb.values = TRUE, then [I99].Value = 1, [I103].Value = 1, etc. The values would be set ONLY When I move off the page, either to another page on Multipage1.Pages(5) or another control on the userform.
To say it another way, on the active page, let me check or uncheck anything I want; what's checked when I leave the page, those TRUE values trigger cell values to set to 1.
I think after I move off the page by another action, I will set the property of the just executed page to Enabled=FALSE. I have a master reset cmd button on the page that will allow start over.
I'm brand new to this forum, so forgive if this is a very "noob" and basic structure. Apologies in advance. Help appreciated.