WatfordKev
Board Regular
- Joined
- Mar 30, 2011
- Messages
- 78
I'm looking to populate a tab on a multipage control with a series of checkboxes (although the control is irrelevant). but I don't know how to do it, despite experimenting and looking around for a solution. The nearest I've got is the following which puts the controls on the main form when the tab is clicked, but not on the multipage control tab itself!
Private Sub MultiPage1_Change()
Dim ws As Worksheet
Set ws = Worksheets("Params")
If Me.MultiPage1.Value = 2 Then
Dim cServiceA As Range
For Each cServiceA In ws.Range("Service_Areas")
' CODE HERE
Next cServiceA
End If
End Sub
Private Sub MultiPage1_Change()
Dim ws As Worksheet
Set ws = Worksheets("Params")
If Me.MultiPage1.Value = 2 Then
Dim cServiceA As Range
For Each cServiceA In ws.Range("Service_Areas")
' CODE HERE
Next cServiceA
End If
End Sub