![]() |
#1
|
|||
|
|||
![]()
Dear all,
I'm looking for a solution to automatically 'scan' a text/document for text in specific layout/'regex', and list these text/words in a table (which is already present in the word file). To make this a bit more clear, the word document will be used as a step-by-step manual template for several projects. Everytime a specific tool is required to complete the step, the name of the tool is typed within the step it is required, in a specific/unique ‘Layout Style’ and always between square brackets. In the end I’d like to hit a macro button and automatically list all these tools in one specific table which lists all ‘required tools for this project’. Off course, with updates over time the used tools also change, so it would be nice if the macro also could ‘update/refresh’ this list, or off course just clear it and start from beginning. Does any of you have an idea on how to create this? Thanks in advance! Best regards, A. |
#2
|
||||
|
||||
![]()
See, for example: https://www.msofficeforums.com/word/...html#post32031
The second macro there is closest to what you describe. It searches for terms in double-quotes, so you could either change those to square brackets or change your document to use double-quotes. As an alternative, you might consider creating an Index.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
list, search, table |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
epid011 | Word Tables | 2 | 05-15-2017 05:21 PM |
![]() |
jc491 | Word VBA | 8 | 09-30-2015 06:10 AM |
List specific text in excel | ljd108 | Word VBA | 2 | 12-18-2014 07:48 PM |
![]() |
ljd108 | Word VBA | 15 | 10-09-2014 02:35 AM |
![]() |
cryptogram | Word | 14 | 07-21-2012 03:02 PM |