Hi,
One of the excel experts Leith gave me a code regarding my time track program. I have a UserForm which contains a Textbox, search, starttime and endtime button. Basically the program works like this: User enters id no from the text box, click on search once id no found, he can click either the starttime or endtime button.The Starttime is working good. However my problem is on the Endtime button. When clicking the endtime button, a message prompt should appear stating the remaining time left for the break. User click "Yes", the time he click the button will be pasted on the worksheet. Code is working however, when clicking the endbutton, the time is being pasted immediately on the worksheet instead of the message prompt which is the first thing to appear. The message prompt should appear first. Once the user click on the "Yes" button, that is the time, the endtime should be pasted on the worksheet.
Here is the code:
Thanks,Please Login or Register to view this content.
Minato
Bookmarks