How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Pete Your Own Question
Pete, Computer Engineer
Category: Programming
Satisfied Customers: 17945
Experience:  Over 16 years of experience in computer programming.
Type Your Programming Question Here...
Pete is online now
A new question is answered every 9 seconds

I am creating a form in word using content containers but

Customer Question

I am creating a form in word using content containers but want a field that is limited to numbers and I can't find one, do you have any suggestions?
Also with VBA how do I retrieve the value in a particular container as to trigger a macro that removes a water mark. I already have sorted that macro but can't get it to trigger when exiting the container.
Submitted: 1 year ago.
Category: Programming
Expert:  Pete replied 1 year ago.

Hi there,

By right-clicking on a text form field and selecting Properties, you can set the Type and Format boxes to provide validation.

Just set the data type to Number and this will prevent anyone from entering non-numeric characters.

Customer: replied 1 year ago.
Hi PeteThanks for that but I think you are talking about legacy controls, I'm using content controls instead due to protection issues in the form. I also need to know how to find the name of the control so I can refer to it in VBA?Any ideas?
Expert:  Pete replied 1 year ago.

I will open this question up to the other experts to see if they can assist.

Customer: replied 1 year ago.
Thanks, ***** ***** be replying to this question or back to you and you relay it to me?
Expert:  Pete replied 1 year ago.

They will be replying directly to you on this same question page.

Customer: replied 1 year ago.
OK - I see the message on the conversation flow now.Thanks for helping.