vba events

  1. W

    Event that triggers when create a pivot table

    I want to create a macro that executes when a new pivot table is created. I had all the code that I want to execute, but I couldn´t find any event that triggers the macro when a new pivot table is created. Please help me!
  2. L

    VBA Trigger

    Hi, I am wondering if it is possible to run a VBA procedure based on the value of a cell, or an automatic cell value change (not user driven). Option 1: I have a cell that outputs one of two different messages based on a conditional statement. I only want the VBA code to run automatically...
  3. K

    Automatically Refer to Checkbox in CheckBox_Click()

    I have a table with 12 entries, and a checkbox next to each entry. The first row of this list shows "All". What I am trying to do at the moment is to code the event triggers CheckBox(x)_Click so that when the checkbox next to "All" is checked, everything else is unchecked, and if any other...
  4. M

    VBA Event?

    I have a workbook template with some VBA code and I'd like to run a macro when new workbooks are created from the template. However, I can't seem to find the New Workbook event (the closest being Open Workbook which doesn't seem to work). What would be the right event for the new workbook and...

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top