Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Referring to a frame with a frame
I have created a user form that has one large frame in it (MonthFrame)...
inside the frame are 35 other frames (DayFrame1-35)... in code I want to change the name of the day frame... how do I refer to that frame with a frame? Me.controls(nameofframe).caption dpesn;t work... Any help? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Referring to a frame with a frame
You can refer directly to a nested frame.
Debug.Print UserForm1.DayFrame1.Caption Or, you can go through the Controls method: Debug.Print UserForm1.MonthFrame.Controls("DayFrame1").Caption Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Mon, 27 Oct 2008 13:52:08 -0700, jayklmno wrote: I have created a user form that has one large frame in it (MonthFrame)... inside the frame are 35 other frames (DayFrame1-35)... in code I want to change the name of the day frame... how do I refer to that frame with a frame? Me.controls(nameofframe).caption dpesn;t work... Any help? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Frame | Excel Programming | |||
about frame and screen shot of a frame | Excel Programming | |||
Frame | Excel Programming | |||
frame | Excel Discussion (Misc queries) | |||
How to attach legend frame to chart frame? | Charts and Charting in Excel |