Programming question here.
I have 4 labels:
label1
label2
label3
label4
I want to make a for loop to assign the text property of each one. Is that possible? I was thinking something like (I know this is wrong and probably stupid but it's my first guess and not the most experience programmer):
For i = 1 to 4
"label" & i & ".text = Hi"
Next i
Is this possible to construct the name of the object within a loop like this?
I have 4 labels:
label1
label2
label3
label4
I want to make a for loop to assign the text property of each one. Is that possible? I was thinking something like (I know this is wrong and probably stupid but it's my first guess and not the most experience programmer):
For i = 1 to 4
"label" & i & ".text = Hi"
Next i
Is this possible to construct the name of the object within a loop like this?