petroj02
11-07-2016, 03:22 AM
Hello guys,
I am trying to figure out, how can I clear 7x Label at userform called Properties by for Loop,when I click at something at different userform for example UserForm1. I can overwrite Label alone, but this Loop gives me an error message and I dont know the right Syntax.
For i = 1 To 7
Properties.Controls(Me("label" & i)).Caption = ""
Next
Every help would be welcome...
I am trying to figure out, how can I clear 7x Label at userform called Properties by for Loop,when I click at something at different userform for example UserForm1. I can overwrite Label alone, but this Loop gives me an error message and I dont know the right Syntax.
For i = 1 To 7
Properties.Controls(Me("label" & i)).Caption = ""
Next
Every help would be welcome...