I have a
Worksheet named ANAESData "ANAES Data Entry"
and a
userform named:
ufANData that has three list box
lbxDate (single option select) data from a named range rngDate which has 2 columns
lbxName (single option select) rngANAESNames
lbxShifts (Multi option select) rngShifts which has 2 columns
listboxes populate as planned
I have trouble inserting the data into the worksheet.
I have multiple tables for each day of the month. The date is at the top of the table. starting at L8 with the next date at q8 and the next at u8
I need to use the date selected in lbxDate to find the right row then add in the next blank row the shift data collected from lbxShifts
If there is more than one name selected then copy the shift data
trying to code this is it possible?
Worksheet named ANAESData "ANAES Data Entry"
and a
userform named:
ufANData that has three list box
lbxDate (single option select) data from a named range rngDate which has 2 columns
lbxName (single option select) rngANAESNames
lbxShifts (Multi option select) rngShifts which has 2 columns
listboxes populate as planned
I have trouble inserting the data into the worksheet.
I have multiple tables for each day of the month. The date is at the top of the table. starting at L8 with the next date at q8 and the next at u8
I need to use the date selected in lbxDate to find the right row then add in the next blank row the shift data collected from lbxShifts
If there is more than one name selected then copy the shift data
L | M | N | O | P | Q | R | S | |
8 | wk1 14/6/2021 | wk1 15/6/2021 | ||||||
9 | code | Shift | Mon1 Name | code | shift | Tue2 Name | ||
10 | insert lbxShift col1 | lbxShift col2 | selected lbxName | |||||
copied from above if multiple names are selected | copied from above if multiple names are selected | next lbxName |
trying to code this is it possible?