Creating Automatic Procedures

An automatic procedure runs automatically whenever one of a specific set of events occurs. You can associate automatic procedures with either workbook-level or worksheet-level events.