Accessing Textbox Programatically..?

A

Andrew

Hi, I'm new to this ng, done loads of excel vb..!

I've created a Userform in word, with an Editbox + Btn.

I want to enable the user to enter data into the editbox,
click a button and the data appear in a certain textbox.within a
document.
There are several textboxes within the document.

How do I locate the textbox Programmatically..?
 
A

Andrew

with the Drawing tool...Autoshape textbox..

thx macropod.
Andrew

| Hi Andrew,
|
| What kind of textbox - a text formfield or an autoshape textbox?
|
| --
| Cheers
| macropod
| [Microsoft MVP - Word]
|
|
| > Hi, I'm new to this ng, done loads of excel vb..!
| >
| > I've created a Userform in word, with an Editbox + Btn.
| >
| > I want to enable the user to enter data into the editbox,
| > click a button and the data appear in a certain textbox.within a
| > document.
| > There are several textboxes within the document.
| >
| > How do I locate the textbox Programmatically..?
| >
| >
| >
 
D

Doug Robbins - Word MVP

Put { DOCVARIABLE "varname" } where you want the information to appear and
then use code in your userform the set the values of the variable to the
data that is entered into the form and then update the fields in the
document.

--
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, originally posted via msnews.microsoft.com
 
A

Andrew

Ahhhh, Good idea.
Thanks Doug.

| Put { DOCVARIABLE "varname" } where you want the information to
appear and
| then use code in your userform the set the values of the variable to
the
| data that is entered into the form and then update the fields in the
| document.
|
| --
| 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, originally posted via msnews.microsoft.com
| | > with the Drawing tool...Autoshape textbox..
| >
| > thx macropod.
| > Andrew
| >
| > | > | Hi Andrew,
| > |
| > | What kind of textbox - a text formfield or an autoshape textbox?
| > |
| > | --
| > | Cheers
| > | macropod
| > | [Microsoft MVP - Word]
| > |
| > |
| > | > | > Hi, I'm new to this ng, done loads of excel vb..!
| > | >
| > | > I've created a Userform in word, with an Editbox + Btn.
| > | >
| > | > I want to enable the user to enter data into the editbox,
| > | > click a button and the data appear in a certain textbox.within
a
| > | > document.
| > | > There are several textboxes within the document.
| > | >
| > | > How do I locate the textbox Programmatically..?
| > | >
| > | >
| > | >
| >
| >
|
 

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