Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
suppose i have a number of similar controls (e.g Checkbox control) embedded on a worksheet (not form controls, but using Control Toolbox) & i want to change their Caption property for all the controls (checkboxes) to Nothing( blank), & i want to do that by clicking another control say, a Command Button ( embedded again on the worksheet) named say, RESET button, how can i go about doing that. please note that there is no form made here, but controls embedded on a worksheet using Control toolbox. Rgds, Eijaz |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub Reset_Click()
Dim oObj as OleObject for each oObj in Me.OleObjects if typeof oObj.Object is MSForms.Checkbox then oObj.Object.Caption = "" end if Next End Sub -- Regards, Tom Ogilvy "gr8guy" wrote in message ... Hi all, suppose i have a number of similar controls (e.g Checkbox control) embedded on a worksheet (not form controls, but using Control Toolbox) & i want to change their Caption property for all the controls (checkboxes) to Nothing( blank), & i want to do that by clicking another control say, a Command Button ( embedded again on the worksheet) named say, RESET button, how can i go about doing that. please note that there is no form made here, but controls embedded on a worksheet using Control toolbox. Rgds, Eijaz |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protecting Controls in a worksheet | Excel Discussion (Misc queries) | |||
Tab Between Active X Controls on Worksheet | Excel Programming | |||
controls on worksheet | Excel Programming | |||
Worksheet Controls | Excel Programming | |||
Referencing to controls on a worksheet | Excel Programming |