![]() |
|
#1
|
|||
|
|||
|
I am looking for a macro that will search the active Word document for specific text
and creating a table listing the text and page number(s) that it is found on. Searching for .text = "\(CCI*\)" I would like the table to look similar to this: CCI # Page # CCI 000808 1, 3, 8 CCI 000805 3 I modified an acronym finding macro and have limited success. It currently identifies the text that I search for but only returns the data for the first occurrence in the document. I also would like to create the table at the end of the document starting on a new page. Any assistance will be greatly appreciated. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help creating a macro to identify values that have letters and numbers. | Mr J | Word VBA | 19 | 08-12-2020 03:57 PM |
| Text inside text boxes create headings inside my table of contents!!! How do I delete the created he | carstj | Word | 3 | 04-11-2016 12:46 PM |
Macro to Add Text and Page Number to Top of Each Page Within Text
|
eslight | Word VBA | 10 | 12-07-2012 08:18 PM |
| Text and page numbers in footers? | MikeT1953 | Word | 0 | 07-09-2010 08:14 PM |
| Add text to page numbers | alpruett | Word | 0 | 07-07-2010 09:40 AM |