Dynamic Template

  • Thread starter Thread starter giancarlo2004
  • Start date Start date
G

giancarlo2004

I have to write a template that have to be filled in three different
steps, so parts of the document is needed to be hidden in a step an
others is needed to be revealed.

For example here is a demo TOC:

1. Topic
2. news
3. books
4. test
5. purposes


By selecting in a combo box the type "Model1" the VBA script hides "2
news" and "4. test", while if I select "Model2" the script shows al
but "4.test".

Does anyone can help me in writing the code?
I know that I have to create bookmarks for each of the section I wan
to hide/show and then play with the hidden property but I need a way t
insert and remove easily the bookmarks in the models type.


Thanks a lo
 
I would suggest posting this in the vba.beginners or the vba.userforms
newsgroups rather than the word.newusers group.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
Back
Top