#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 191
Default Frame

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default Frame

========================
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


On Jun 16, 9:45*am, ranswrt wrote:
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frame ranswrt Excel Programming 2 June 9th 08 05:10 PM
about frame and screen shot of a frame Monte0682 Excel Programming 1 May 11th 07 05:48 AM
Frame Nick London Excel Programming 1 July 4th 06 03:39 PM
frame Nick London Excel Discussion (Misc queries) 0 July 4th 06 01:17 PM
How to attach legend frame to chart frame? holg3r Charts and Charting in Excel 2 July 7th 05 11:41 PM


All times are GMT +1. The time now is 09:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"