Visual Basic Word

Hi,

My experience with Visual Basic is basically confined to Outlook. I now need to work with Word 2003 Forms and Controls. Is there a list if inbuilt Word Form and Control Events I can access anywhere? I need to set up a Word template form that produces a series of events (pop up message boxes, dynamic restriction of data entry etc) that will fire when users enter, make a change to, or exit certain form controls (checkboxes and the like).

John
JP53Asked:
Who is Participating?
 
GrahamSkanConnect With a Mentor RetiredCommented:
What controls have you put on the document?
0
 
GrahamSkanRetiredCommented:
You can see the events for any ActiveX control in the ThisDocument module.

You can set the Entry and/or the Exit macro (equivalent to GotFocus and LostFocus) via the Properties window in the case of form fields.

0
 
JP53Author Commented:
Hi GrahamSkan,

Got as far as the VBA view as in attached. Where do I go from there?

J VIEW
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
GrahamSkanRetiredCommented:
Click on the left-hand drop-down which currently shows "(General)". You should now be able to see "Document", and an entry for each ActiveX control that is in the document. Select one. Then the list of available events can be seen in the right-hand drop-down.
0
 
JP53Author Commented:
Hi,

Nothing bit General in the drop down. Tried it with each of the modules etc. but the same result.
0
 
JP53Author Commented:
OK. Sorted. Many Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.