Frame

  • Thread starter Thread starter ranswrt
  • Start date Start date
R

ranswrt

Is there a way that I can set a frame in a userform enabled to false and the
objects inside the frame also will automatically be set to false also?
Thanks
 
========================
if frame1.enabled=false then
optionbutton1.enabled=false
optionbutton2.enabled=false
optionbutton3.enabled=false
end if
========================
OR you could set the controls within the frame to have a group name
and then make all the controls with that group name un-enabled.

for instance:
======================
Dim oControl as Control

If oControl.GroupName = "Unseen" then
oControl.enabled=false
end if
=====================
hope it helps
:)
susan
 

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

Back
Top