M
mark kubicki
can a variable be used as a control name?
Dim i As Integer
Dim cnDayLabel As Control 'or should this be as a String?
For i = 1 To 7
cnDayLabel = "DayLabel" & i
cnDayLabel.Visible = False
Next i
Dim i As Integer
Dim cnDayLabel As Control 'or should this be as a String?
For i = 1 To 7
cnDayLabel = "DayLabel" & i
cnDayLabel.Visible = False
Next i