I have 10 checkboxes within my userform and they show their corresponding page when ticked and then hides when unticked within the multipage. I currently have it set to each has their own Sub below is example
Private Sub CBks_Click()
MultiPage1.pages(4).Visible = CBks.Value ' Checkbox Kiwisaver Tab
End Sub
Private Sub CBh_Click()
MultiPage1.pages(5).Visible = CBh.Value ' Checkbox House Tab
End Sub
Private Sub CBip_Click()
MultiPage1.pages(6).Visible = CBip.Value ' Checkbox Saturn Investment Tab
End Sub
How could I put all of these into an array?