The macro first needs to ask for the employers ID number to put in the header row. The valid ID number should be less than 100. If the user enters an invalid ID, the macro continues asking for the ID until it is valid. The macro then asks whether it is night shift. If it is night shift the header background color should be pink, otherwise it should be blue.
The macro must be primarily hand-coded and include conditional logic, loops, modify data, and user interaction.
I was able to do everything except the "Do Until..Loop" where I have to put the valid ID number less than 100.
I did what I can do but failed since I am not so good at this subject. Please help!!
This is how my VBA looks like.
Thanks in advance.
Bookmarks