I need help writing VBA code for data input userform.
I have a worksheet with 8 columns. The first 4 columns (A:D) are used to input business names and healthplan data:
BusinessName, HealthPlan, GroupNumber, ZipCode
The next 4 columns (E:H) are used for individual employee data:
EmpName, EmpIID, Relationship, Age.
For each business name there may be one or many different employees. Whenever there is a new employee in the same business, I want the data in the first 4 columns to repeat into each new row without retyping the same data, and to continue to repeat until another new business name is entered.
I've created a userform that works great to add the data but I can't figure out how to write the code to let me add duplicate information without retyping. Any suggestions will be greatly appreciated. Thanks!
Bookmarks