Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using Excel 2003. I set up control buttons on a worksheet to sort
selected areas of the sheet in certain predefined manners. I would like to reset the captions of all the buttons when the workbook is opened. However, it appears that there's no way to enumerate all the controls as there is with VB forms. I tried something like this: dim ctl as control for each ctl in activesheet.controls if left(ctl.name,6) = "SortBy" then ctl.caption = "s" next ctl After searching help and the web, I've not found a way to enumerate all the controls on a worksheet. It looks like there's no "Controls" collection or something similar for a worksheet. Is there a way to do this? Thanks tbone |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using controls with Excel 2003 | Excel Discussion (Misc queries) | |||
No ActiveX controls when reading 2007 file formats into Excel 2003 | Excel Discussion (Misc queries) | |||
Activex controls in Excel 2003 | Excel Worksheet Functions | |||
Bug in Excel 2003 involving ActiveX Controls on worksheets | Excel Programming | |||
Controls move upon printing in Excel 2003 | Excel Discussion (Misc queries) |