You need to either add a button or use the WorkBook_Open event to display the form
Workbook Event code should be added to the workbook code module:
Copy the Excel VBA code that you want to use
Select the workbook in which you want to store the code
Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
In the Project Explorer, find your workbook, and open the list of Microsoft Excel Objects
Right-click on the ThisWorkbook object, and choose View Code
Where the cursor is flashing, choose Edit | Paste
The entries need to be saved to the workbook, but you need to be more specific about how you want to save them
See the DatabaseForm example
Bookmarks