OptionButton

U

Ulf Nilsson

Hi,
How do I loop through a form, looking for OptionButtons?
When found, make .visible = false and .caption = ""?

/ Ulf
 
U

Ulf Nilsson

Hi again,

I found out myself:
For Each cTemp In frmAImallar.Controls
If LCase(Left(cTemp.Name, 12)) = LCase("OptionButton")
Then
cTemp.Value = ""
cTemp.Visible = False
End If
Next

/ Ulf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top