Hi Guys
I'm currently using this piece of VBA code give certain labels in my userform a frame.
Dim oCtrl As Control
For Each oCtrl In Me.Controls
If TypeName(oCtrl) = "lbl" Then
oCtrl.BorderStyle = 1
End If
Next oCtrl
I'd like to include if labels caption...