Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Visual Basic text box
Hi-
I have an app which uses MS Visual Basic forms to allow users to input info. This is then mailmerged into a document. Is it possible (if so, how) to have a default value display in a text box? The hard part: the value will vary, and will be the value of a field in a file which the mailmerge uses. The VB app already read the file, and knows the value, but how do I get it into the text box as a default value? Somehow I need TextBox.Value to equal my variable (pm_patent_no) which I previously read. Then the TextBox.Value should display and the user can accept it or overtype something. Thanks for you help in advance. Marty |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Visual Basic text box
Hi Marty,
I have an app which uses MS Visual Basic forms to allow users to input info. This is then mailmerged into a document. If you're programming this in Visual Basic, then you need to address your question to a Visual Basic group. Without knowing the internals of your project, all one can really say is that you make these assignments after you've read the values into the variables. (I can hardly believe you've programmed what you say you have without knowing how to assign a value to a form control at run-time...) Is it possible (if so, how) to have a default value display in a text box? The hard part: the value will vary, and will be the value of a field in a file which the mailmerge uses. The VB app already read the file, and knows the value, but how do I get it into the text box as a default value? Somehow I need TextBox.Value to equal my variable (pm_patent_no) which I previously read. Then the TextBox.Value should display and the user can accept it or overtype something. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Header with picture or text box | Page Layout | |||
Creating dynamic cross reference links in a Word document | Microsoft Word Help | |||
ADD A WATERMARK TO A TEXT BOX | Microsoft Word Help | |||
manipulating/cutting/pasting text out of a text box | Microsoft Word Help | |||
Word applies direct format on File open | Microsoft Word Help |