Hello Excel pros and enthusiasts, I would appreciate your help with some VBA please.
I have two workbooks attached. In the workbook named "Data Entry Form", if you open it and click the Open Form button, you will get a userform with four fields and an Enter Data command button. I would like to use the drop downs and free text etc and enter data, then click the command button (Enter Data). When I click the command button I want the below activities to take place:
1. Open workbook called "Database"
2. Write the data from the four userform fields from "Data Entry Form" to the next empty row on the "Database" workbook
3. Save "Database" workbook
4. Close "Database" workbook
I have already inserted the headers on the "Database" workbook in Row 1 as you will see.
Can you please help me to get the VBA code for the "Enter Data" command button to perform the above task?
Assume the path for the "Database" workbook is as shown below:
C:\Users\ComputerDesk\Desktop\receiptofdeliveries\Database.xlsm
Thanks!
Bookmarks