Word form/macro that populates text

O

orangeumbrella

Hi everyone,

I'm trying to create a Word document (a manual of sorts) that is
customizable to the reader. I want the document to contain a form (a drop
down) that, depending on the selection made, displays different
text/paragraph throughout the rest of the document. For example, Person A
selects Option 1 and sees Sections 1, 2, and 3, but Person B selects Option 2
and sees only Sections 1 and 3. Ideally, the drop down should selectively
edit the table of contents as well the index, and all the sections in
between. Also, formatting (such as headings) should not be affected. I was
thinking macros, but I'm really not certain where to start, so any help would
be greatly appreciated!

Thank you!
 
D

Doug Robbins - Word MVP

Take a look at the Boiler.Zip Add-in that you can download from
http://www.gmayor.com/downloads.htm

--
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
 
G

Graham Mayor

While the link Doug posted may be useful to you, I suspect
http://www.gmayor.com/SelectFile.htm may be more what you had in mind. The
techniques used there could be adapted to your requirements.

You would have to add code to update the table(s) of contents to reflect the
changes. - something like

Dim oTOC As TableOfContents
For Each oTOC In ActiveDocument.TablesOfContents
oTOC.Update
Next oTOC

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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