Creating an Input form to set Work/Units/Duration

V

Vasu Srinivasan

How do I create a form with an "OK" button and get the control to return to
the next statement when the OK button is pressed, so that I can calculate and
then store the vlues myself?
 
J

Jan De Messemaeker

Hi,

Suppose you mean in VBA?
Make the form and give it a name say Myform
In your code Myform.show
In the code for the OK button myform.hide
That returns control afte rthe line .show
HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top