I'm by no means an expert and am actually learning VBA myself. I figure however that one of the best ways to learn is to try and problem solve so I'm having a look through the forum for simple problems I can have a bash at.
From what I can tell, you have no 'else' condition here that will trigger the fields to change if the user selects anything other than "Employee" i.e. if I select "Employee", the code fires and populates all the fields with "*****" and then sets .Enabled = False.
If I then change the selection, nothing is set up to trigger anything different. I guess I would expect it to look like this:-
Hope this helps.
Danny
Bookmarks