Hello MatRNR,
Thanks for posting the workbook. It is always good to see all that is going on in the workbook. There was more to this than simply adding the macro.
In this version of the workbook, I have made a few changes that will make this easier to maintain. Generally, it is not a good idea to include formulas in your database. The database should be clean of code to allow the most flexibility with the data. VBA can handle a large portion of the grunt work for you much more easily than formulas, as you will see.
The clear buttons for data to print all use the same macro now instead of separate macros. A little VBA magic makes this possible. Nothing really difficult, but not often seen in macro examples.
VBA now handles the data entered into cell $H$5 on the Search worksheet. The data is automatically entered when the user has finished entering data in the cell. In VBA there are many processes that happen when data is input. Many of the processes make certain information available at particular points in the process. These are called Events and what causes an Event to happen is known as a trigger.
Have a go with it and let me know if this will work for your needs.
Clear Button Macro
SEARCH - Worksheet_Change Event Code
Bookmarks