Hey all....need some help trying to build a simple "egg timer". (Don't ask why) I thought this would be super simple and I was basically on my way until I hit a little snag. The basic idea is as follows:
I set up an embedded command button right on the worksheet to launch a bit of vba code.
The code launches a simple form that uses a spin button connected with a text box. You can click the spin button and select a number between 1 and 120 that should be displayed in the text box.
As far as I know, I am pretty good up until this point. Problem is that I want to take the value that is entered into the text box via the spinner button and launch a form that says something like "Time is up" at a time that is x minutes in the future, where x is the number dialed in by the spinner box. Problem I am having is that I don't know how to use the onTime function with variables....
here is a copy of my bogus code associated with the user form described above: (known problem area in bold at the OKButton section)
Thanks for the help.Please Login or Register to view this content.
m.hatter
Bookmarks