Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a sheet with a set of Forms Checkboxes. Each checkbox is
assigned to the same subroutine. Upon clicking, the subroutine adds different series to a chart based on the name of the checkbox clicked, using the "Application.Caller" property. My question is whether I can simulate clicking these checkboxes in VBA - so that that the subroutine is launched by them and the "Application.Caller" property remains intact. ActiveSheet.CheckBoxes("name").value = 1 or True or xlOn will check the box, but not fire the associated subroutine. Alternatively, if there is a way to call a subroutine with a spoofed Application.Caller, that might be an option as well, but I imagine that is unlikely. There is probably a better way to achieve the desired result than the dependence on "Application.Caller," but these are the circumstances as they stand. Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Forms Checkbox | Excel Discussion (Misc queries) | |||
Click event for checkbox from Forms toolbar | Excel Discussion (Misc queries) | |||
EXCEL FORMS CHECKBOX | Excel Worksheet Functions | |||
Checkbox Click | Excel Programming | |||
simulating click events | Excel Programming |