Bonjour,
Dans son message, < Mike > écrivait :
In this message, < Mike > wrote:
|| I created the user form completely in Word using the tool
|| boxes available in Word. The code I gave you was out of
|| Microsoft Script Editor which is part of Word. I am not
This editor is primarily used to edit/create HTML pages, i.e. Web pages,
where you can add VBScript or Java script code.. If this is your intention,
then, as I stated in my previous post, you should post in Web design or
html_authoring groups. Also, if this is really your goal, stop reading as
everything that follows is not written with a Web design in mind.
|| sure what I need to do to make this a "true Word
|| environment".
I mean "not a Web environment" (Probably through a Web browser).
You lost me here. Your original post stated:
<quote>
I have created 2 Word documents. Both have radio buttons
and text boxes. In one I used VBA controls and the other
I used Web Controls. Both are protected.
<end quote>
You are writing about objects on a document, i.e., Form controls (or ActiveX
controls?). This is usually an in-line form (A protected Word document
designed to gather information). It looks like you are intending to use a
Word document in Web environment.
If you are using a userform (like a dialog box), post the code you are
having problems with.
If you have a "Submit" button on the userform, use the Routing code you saw
at the Web site I suggested you look at.
In case we are having a terminology problem...
Just to make sure we are talking about the same thing, is the type of form
that you are referring to
called an in-line form or a userform? A userform is a custom dialog that
is usually called via a macro.
See the article "How to create a Userform" at:
http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm
For more information on in-line forms, see:
Please Fill Out This Form
Part 1: Create professional looking forms in Word
http://www.computorcompanion.com/LPMArticle.asp?ID=22
Part 2: Adding Automation to your Word forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=46
Part 3: Learn more VBA (macros) to automate your forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=119
Part 4: Use custom dialog boxes in your Word forms
http://www.computorcompanion.com/LPMArticle.asp?ID=127
Part 5: Connect your AutoForm to a database to save input time and keep
better records!
http://www.computorcompanion.com/LPMArticle.asp?ID=136
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site:
http://www.word.mvps.org