fields

D

Daren White

I want to run a macro which asks for inputs from the user to insert into a
table. I have got it to work using bookmarks and the ask command but my
problem is I need the answer to be rejected if the input is a letter or
blank. Is there anyway to get the ask prompt box to be numeric or another way
around it?
 
D

Doug Robbins - Word MVP

Instead of using Ask fields, use a UserForm. You can then check what the
user has entered into each textbox on the UserForm and take appropriate
action.

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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