D
Dave Peterson
First, this is a plain text newsgroup--attachments and HTML/RTF posts aren't
welcomed by most.
Dim i as long
for i = 1 to 20
frmcreated.controls("lstate" & i).caption = ""
next i
If this is in code that is in the userform module, I'd use:
me.controls("lstate" & i).caption = ""
welcomed by most.
Dim i as long
for i = 1 to 20
frmcreated.controls("lstate" & i).caption = ""
next i
If this is in code that is in the userform module, I'd use:
me.controls("lstate" & i).caption = ""