Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Word 2003: VBA for passing data to other places in a document

Status
Not open for further replies.

JoCarr

Technical User
Feb 13, 2008
1
US
This is for a proposal letter. The document contains a numbered list of various lines giving a summary of work to be performed. The next paragraph(s) repeats the summary but adds more detail.
For example:
1. Get the paper.
2. Take out the trash.

Task 1. Get the paper. (detailed text goes here)
Task 2. Take out the trash. (detailed text goes here)

Next I would need to create a table with just the Task numbers: Task 1., Task 2., etc.

I can use macrobuttons as placemarkers to add the detailed text but can I create a macro to capture the summary text and repeat it elsewhere in the document? It would need to be dynamic since the number of items varies.

Thank you in advance for your assistance.
Jo
 
Have you looked at how Word's Table of Contents feature works?

I think it could be used to do what you describe.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top