I have ActiveX Combobox and PivotTable Record Macro. In Form control combobox, can link both with Assign Macro. How to find the link in ActiveX Combobox? Or idea for VB code. Thanks!
I have ActiveX Combobox and PivotTable Record Macro. In Form control combobox, can link both with Assign Macro. How to find the link in ActiveX Combobox? Or idea for VB code. Thanks!
Enter design mode, then right-click the activex control and choose View Code. You can then choose the event you want to trigger your code from the dropdown list at the top right of the code module.
Everyone who confuses correlation and causation ends up dead.
How to trigger the Marco code, May you please give me some details or send me a sample? thanks!
When you choose View Code, you should see this by default (the name of the control may be different):
You can put your code inside that routine or, if you have an existing macro, just add![]()
Private Sub ComboBox1_Change() End Sub
inside the routine.![]()
Call macroname
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks