I'm looking for a vba code to select the cell based on the 2 criteria's (1. search the string in column A and 2. search for a date number in row 4). basically i have a sheet which consists of employee names in column A and numbers (1 to 31, which is formula based) as a header in row 4. I have a userform with combobox & Calendar control. My query here is based on the employee name & date selected in userform, i want to select the cell in sheet for that employee.
For Example: In the image if i want to choose Employee3 and date as 9, macro code should select the J8 cell.
I've attached the sample file & code for reference.
any help here is really appreciated !!
Leave.PNG
Userform.PNG
Bookmarks