Example VBA Macro
Simple Version
- Download the example macro
- Open it
- Deal with any macro warnings
- If you get the warning "Microsoft has blocked macros from running"
- Close the file
- Right click the file and check the box under Properties > General > Unblock
- Reopen the file
- Click "Enable Content" if prompted
- If you get the warning "Microsoft has blocked macros from running"
- Click the "Run" button on the spreadsheet to see it work
- To view/edit the code
- Right click the "Run" button
- Click "Assign Macro"
- Click "Edit"
- Tweak to fit your needs