Hi rorya, okay i should explain what i need in detail.
I have a userform which has a textbox to supposedly store a date. I need this date for formulas in one of the worksheets. Users can type in the date they need for the formulas into the textbox.
But i need a static variable to store the user's input, so that the user does not need to retype this value over and over again. But i do not want to use a cell to retain this value.
Right now, i have placed codes into the beforeupdate event of the textbox, to call a procedure, passing in the user input. (This procedure is used to start up the userform) And in that procedure, i store the user input into a static variable. And then, i place the value of the static variable into the textbox to display it.
Thanks,
Shie Boon