Hello all,
I'm looking for a solution to a problem of populating data from Userform across different sheets based on what is stated in Userform. I have 52 weeks sheets that look exactly the same (see the picture), Userform that looks like this (pic here ) and a sheet that could work as reference tables sheet (one more picture - red table is a reference of a sheet a macro would open (so if someone inserts date 5.01.2021 it would open sheet named "Week 2"), green table is a reference of row number of each day and person (so if Mike would like to insert his data on 5.01.2021, macro knows it's Tuesday and it's Mike, so it choses row no 72 to populate), and blue table is a reference of columns numbers or letters (so macro would choose proper column to put data in).
Userform elements are:
Name - cmbImieiNazwisko
Date - cmbData
NDS - txtNDS
Over - TxtOver
Less - txtLess
CMP - txtCMP
RTN - txtRTN
Support NDS - txtSupportNDS
Support Matching - txtSupportMatching
Support Hrs - txtSupportHRS
I would like to avoid having to put these info in table and then transferring data to proper week sheets. The best option is just to copy and paste data from user form to proper cell in week sheets, so if someone would like to make correction, data would just be overwritten.
Thanks in advance for replies
I'm looking for a solution to a problem of populating data from Userform across different sheets based on what is stated in Userform. I have 52 weeks sheets that look exactly the same (see the picture), Userform that looks like this (pic here ) and a sheet that could work as reference tables sheet (one more picture - red table is a reference of a sheet a macro would open (so if someone inserts date 5.01.2021 it would open sheet named "Week 2"), green table is a reference of row number of each day and person (so if Mike would like to insert his data on 5.01.2021, macro knows it's Tuesday and it's Mike, so it choses row no 72 to populate), and blue table is a reference of columns numbers or letters (so macro would choose proper column to put data in).
Userform elements are:
Name - cmbImieiNazwisko
Date - cmbData
NDS - txtNDS
Over - TxtOver
Less - txtLess
CMP - txtCMP
RTN - txtRTN
Support NDS - txtSupportNDS
Support Matching - txtSupportMatching
Support Hrs - txtSupportHRS
I would like to avoid having to put these info in table and then transferring data to proper week sheets. The best option is just to copy and paste data from user form to proper cell in week sheets, so if someone would like to make correction, data would just be overwritten.
Thanks in advance for replies