![]() |
#1
|
|||
|
|||
![]()
When i use Find-and-Replace to do a "Replace-All", Word tells me how many changes were made. Can i access that number or get it returned when doing a VBA Replace-All, instead of using "Replace-One", a loop, and a counter?
Thanks for your help. Last edited by John 4; 12-05-2020 at 06:10 AM. |
#2
|
|||
|
|||
![]()
I think this link answers your question:
How to find out, using VBA, how many replacements Word made during a Find & Replace All |
#3
|
|||
|
|||
![]()
Thanks VB, surprisingly complex for such a seemingly simple task, but at least my question's answered.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to merge empty cells before "ok" with a for loop | Iput | Word VBA | 5 | 09-08-2019 06:10 PM |
![]() |
mbesspiata | Excel | 2 | 06-06-2016 02:29 PM |
Replace "comma" with "and" in line of text | audioman | Word VBA | 7 | 01-21-2016 03:11 PM |
Spreadsheet with "CR" & "DB" in amount & number columns. | bfisher | Excel | 4 | 09-28-2015 07:03 AM |
![]() |
Jamal NUMAN | Word | 1 | 09-03-2011 11:37 AM |