Hi there,
I'm very new to VBA and to the forum but I'm very keen to learn and I know I'm the right place to do so!
With that in mind, I'm having issues writing code to update a specific cell with a value based on selections in a userform.
What I have is a userform with a drop down box to select a person's name from and a date. On my worksheet I have the names of the people in column A and the dates in columns D to M. What I want to happen is when a user selects a persons name, I want it to update the corresponding cell based on the date with the letter "w".
The code I have to find the corresponding cell is:
Application.HLookup(Me.TextDate.Value, Sheets("Availability").Range("D1:M100").Value, Application.Match(Me.cboCandidateNames.Value, Sheets("Availability").Range("A1:A100").Value, 0), 0))
and this works to find the correct cell but I'm not sure what I need to add in to make it change that cell to a "w".
Any help would be much appreciated, thank you in advance!
Bookmarks