I thought maybe there was some form of "default" setting for a label, as with some other controls. Like a control.clear sort of deal..
hudibyk your solution would also be great, except every label has a text in the caption by default, rather than just Labelx
I'll run with the tags for now!
Edit:
Had to run it like this, otherwise it tried to set all controls instead of just labels
Private Sub CommandButton2_Click()
Dim lbl As MSForms.Control
For Each lbl In UserForm1.Controls
If TypeOf lbl Is MSForms.Label Then
lbl.Caption = lbl.Tag
End If
Next lbl
End Sub
Bookmarks