View Single Post
 
Old 10-23-2024, 02:19 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Replacing existing content with strings of x will surely mess up the document layout - for the simple reason that, unless you're using a fixed width font, the x strings are unlikely to be the same overall width as the strings they replace. For what you want, see the Redact a Word Document 'Sticky' thread at the top of the Word VBA forum: https://www.msofficeforums.com/word-...-document.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote