Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
using forms to create documents
I am trying to create a form (for my own use only) that would allow me
to check off certain items from a standard list and put only the ones i have checked off into an outline formatted document. Any help that anyone can offer would be appreciated. |
#2
Posted to microsoft.public.word.newusers
|
|||
|
|||
using forms to create documents
Hi smorgan,
Perhaps this can be of any use: Use formfield checkboxes to check your items. Record any macro in your document (record for example clicking the B button on the formatting toolbar). Choose Tools | Macro Macro's... Select your macro and choose Edit. The VBA editor opens. Replace the selected macro with the following: Sub MakeList() Dim aPar As Paragraph For Each aPar In ActiveDocument.Paragraphs If aPar.Range.FormFields.Count = 1 Then If aPar.Range.FormFields(1).CheckBox.Value = False Then aPar.Range.Font.Hidden = True End If Else aPar.Range.Font.Hidden = True End If Next aPar End Sub Make a button in your document to activate the macro. Be sure that your document is still protected when you click it. The macro applies hidden text to all paragraphs that don't have a checkbox formfield, and to all paragraphs that have a checkbox formfield that is unchecked - the result is your list. You can use the document again by pressing the Show/Hide ΒΆ button so that hidden text is visible, and remove hidden format from the document. Good luck, Cooz -- PS: If this is a satisfactory answer to your question, and you are logged in via Microsoft, please press the "Yes" button next to "Did this post answer the question?". Thank you. "smorgan" wrote: I am trying to create a form (for my own use only) that would allow me to check off certain items from a standard list and put only the ones i have checked off into an outline formatted document. Any help that anyone can offer would be appreciated. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I create an index covering several documents? | Microsoft Word Help | |||
create date in mail merge documents in Word 2000 | Mailmerge | |||
How do I collect information from multiple documents to create a t | Mailmerge | |||
Macros - Keyboard Commands | Microsoft Word Help | |||
How do I create & merge specific data base & master documents? | New Users |