![]() |
|
|
Thread Tools | Display Modes |
#2
|
||||
|
||||
![]()
The line '.Close SaveChanges:=True' only re-saves the document if any changes have actually been made. The problem lies in your code, which explicitly updates wDoc.BuiltInDocumentProperties(wdPropertyComments) without checking whether any changes have been made or whether it already matches strRplc.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ballpoint | Word VBA | 10 | 08-15-2022 05:24 PM |
![]() |
jtomolonis08 | Word VBA | 1 | 06-07-2019 05:59 PM |
![]() |
CrossReach | Word | 1 | 10-14-2016 01:27 PM |
![]() |
kennethc | Word | 3 | 03-28-2015 02:49 AM |
how to search and replace BOLD text >> font color change? | dylansmith | Word | 4 | 03-12-2013 09:51 PM |