Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
How do i return the Index of the Checkbox (control ToolBox item, not Forms toolbar item) embedded on a worksheet (sheet1) on CLICKING it. Please note that there are many checkboxes embedded on the worksheet. I Dont want (something as shown below) to create seperate code for each Checkbox as there are around 250 Checkboxes on the Sheet1. Private Sub CheckBox2_Click() End Sub Private Sub CheckBox2_Click() End Sub Private Sub CheckBox2_Click() End Sub ................but one code which will run for every clicked checkbox on the worksheet. thats why the need for refering index of checkbox. What i want to do is: Once the Checkbox is clicked, it should change its Caption Property to show system-Time (Now), Linked cell property - linked to a similar cell (say, Checkbox1 placed on cell A5 on Sheet1, so Linked Cell will be Sheet2!A5) on Sheet2. How do i do this using VBA? Eijaz |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2 Label Options - Forms Object vs Control Box Object | Excel Discussion (Misc queries) | |||
Control Bar Width with Graph Object | Charts and Charting in Excel | |||
Excel Object in VB when running under scheduler control | Excel Programming | |||
Referencing a ComboBox control from a Workbook Object? | Excel Programming | |||
How to tell wich object/shape was clicked | Excel Programming |