Access .text property of a textbox control in a Word Doc 
Author Message
 Access .text property of a textbox control in a Word Doc

I have a VBA textbox control inserted directly into a Word document (not on
a VBA form).  I need to see/set the .text property of the textbox from VBA.
Is there a way to do this?

I will need to get to the other properties of the control as well.

--

Thanks,

Robert



Sun, 10 Apr 2005 01:14:42 GMT  
 Access .text property of a textbox control in a Word Doc
Hi Robert,

What kind of textbox control? One from the Control Toolbox Commandbar?
Can you share the code you've got so far? Posting back with more info, would make it easier for others to help you find a solution.

Hope this helps,
regards,
Astrid

So that all can benefit from the discussion, please post all follow-ups to the newsgroup.
Visit the MVP Word FAQ site at http://www.mvps.org/word/


Quote:
> I have a VBA textbox control inserted directly into a Word document (not on
> a VBA form).  I need to see/set the .text property of the textbox from VBA.
> Is there a way to do this?

> I will need to get to the other properties of the control as well.

> --

> Thanks,

> Robert



Mon, 11 Apr 2005 21:32:44 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. A control similiar to textbox which can display a word doc

2. Word Doc Properties to/from Access

3. Write text and insert pic to Word doc (from Access VBA)

4. BuiltInDocumentProperties from non-Word text files + testing if a DOC file is a Word file

5. Finding text inside Word doc without Word?

6. Accessing .Text property of TextBox

7. Accessing .Text property of TextBox

8. Insert text from a text file into Word doc

9. Replacing Text in Text Boxes in Word Doc from VB

10. TextBox Control Array Evaluating the Text property

11. Insert an embedded word doc from access in word

12. word doc and textboxes help required

 

 
Powered by phpBB® Forum Software