Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Chip Pearson Wrote: Another method might be to put the controls you wish to change inside a Frame control. Then use code like Dim Ctrl As MSForms.Control For Each Ctrl In Me.Frame1.Controls If TypeOf Ctrl Is MSForms.CommandButton Then Ctrl.BackColor = vbButtonFace End If Next Ctrl Bingo! I completely forgot that frames can be useful. Thank you, Chip -- Teodomir ----------------------------------------------------------------------- Teodomiro's Profile: http://www.excelforum.com/member.php...fo&userid=3314 View this thread: http://www.excelforum.com/showthread.php?threadid=53723 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
referencing forms controls | Excel Programming | |||
Referencing worksheet controls | Excel Programming | |||
Code to access Controls via variables? | Excel Programming | |||
Referencing Variables | Excel Worksheet Functions | |||
Referencing to controls on a worksheet | Excel Programming |