- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
Creating a word document with a dialog box asking for a few key pieces of info
Posted on 6/22/14 at 9:35 pm
Posted on 6/22/14 at 9:35 pm
I'm trying to create a word document in Word 2010 that, when opened, has a dialog box that asks for business name, address, and some other things. The rest of the letter will be unchanged except for the fields it asks.
I tried googling it, but I'm obviously not using the correct jargon to get to what I want.
I tried googling it, but I'm obviously not using the correct jargon to get to what I want.
Posted on 6/23/14 at 1:57 pm to Jcorye1
There's a few ways to do it, both involving Macros.
You could use an InputBox to ask user for each string, and use that to update a Field/Bookmark.
Or you could use an Input Form and have them enter all the information at one time in a form and have that update the fields/bookmarks.
You could use an InputBox to ask user for each string, and use that to update a Field/Bookmark.
Or you could use an Input Form and have them enter all the information at one time in a form and have that update the fields/bookmarks.
Posted on 6/23/14 at 7:23 pm to LSUtigerME
Thank you! Now I have some stuff to research.
Posted on 6/23/14 at 10:25 pm to Jcorye1
Appreciate you posting this. I set up a number of these documents back in 2000 / 2001, and it worked slick as hell. I tried to recreate those documents (or similar) a few weeks ago, and I was absolutely stymied. Couldn't find anything at all online. Like you, I wasn't even sure what terms to search. If you can post what you ultimately learn from your searching (per the post above), it'll let me keep browsing TD instead of doing something productive like digging for the answer myself. And that'd be a good thing (for me at least).
FWIW, I recall it being a very straightforward process using the old Word '97. We were starting Word from inside Needles (law firm) software. The document would automatically pull some data from Needles (client name / address). It would ask for the date, name prefix (Mr., Mrs., Ms., Dr., etc.), and several other things which could all be typed into the dialog box. From there, the document would be fully generated and could be printed / saved--either in Needles, on the server, or both.
Using macros sounds familiar, but my earlier searching on this yielded nothing.
FWIW, I recall it being a very straightforward process using the old Word '97. We were starting Word from inside Needles (law firm) software. The document would automatically pull some data from Needles (client name / address). It would ask for the date, name prefix (Mr., Mrs., Ms., Dr., etc.), and several other things which could all be typed into the dialog box. From there, the document would be fully generated and could be printed / saved--either in Needles, on the server, or both.
Using macros sounds familiar, but my earlier searching on this yielded nothing.
Posted on 6/23/14 at 10:43 pm to FCP
I can give you guys the actual Macro code that I used for one I did. It's not really complex at all, just a few lines of code.
You'll have to set up your document with the proper fields (ie. make it into a "form"), but once that is done it will automatically update when you change that field, manually or through an input box/macro.
You'll have to set up your document with the proper fields (ie. make it into a "form"), but once that is done it will automatically update when you change that field, manually or through an input box/macro.
Posted on 6/23/14 at 10:44 pm to FCP
Double Post
This post was edited on 6/23/14 at 10:45 pm
Popular
Back to top
Follow TigerDroppings for LSU Football News