![]() |
|
#1
|
|||
|
|||
![]()
Sir, Thank you for your advice. I am not a programmer though I am conversant with programming. I am only seeking HELP by way of solution to my specific need. Please help further with this macro to:
1. Search to be confined within many paragraphs starting with same heading like " ] bones " till occurrence of immediate next different para (like "] legs") There are hundreds of such paragraphs within a doc. I have put identifier "]" to make start of paras. 2. Pressing "next Find" or "down" should take me to next occurrence of searched para. Please modify this macro as above. Thanks. NOTE: Even if I tried I couldn't make an efficient, error-free macro soon. |
#2
|
||||
|
||||
![]()
That may be so, but you also previously said:
So you really ought to invest some effort of your own. You might even try using Find/Replace with the required Find parameters and the macro recorder running. It would take little of that to reveal that all you need do is to insert: .MatchAllWordForms = True before: .MatchCase = False Please note: Neither this forum nor any other you're likely to encounter are free coding services for those who simply expect others to do their thinking for them.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Sir, I thank you for your help. It worked!
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
AtaLoss | Word VBA | 37 | 09-22-2021 12:04 PM |
search and highlight many words in ms doc | sk1949 | Word VBA | 3 | 10-01-2019 01:29 AM |
Find and highlight multiple words in MS Word document | qkjack | Word VBA | 7 | 02-21-2018 07:09 PM |
Find and highlight multiple words in a document | flatop | Word VBA | 3 | 04-16-2014 10:29 PM |
![]() |
redhin | Word VBA | 5 | 03-05-2013 05:42 AM |