Using Userform code in a Workbook

J

Jake8

I have written a timer sub routine in a Userform.
1. How do I utilise this in a workbook?
2. When I run the code in the VBA I cannot input data into cells in th
worksheet. Is it possible to be able to do this
 
C

Chip Pearson

Jake,

1) You can show the form with code like

UserForm1.Show vbModeless

2) See above.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
J

Jake8

Thanks.

The Userform code brings up a form with a textbox (displaying a timer
and a button (to stop the timer). Unfortunately I cannot enter any dat
while the timer is running and the user can close the form whereas
need the timer to stay on the worksheet. Can you help.. Thanks i
advance
 

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