Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-30-2023, 10:33 AM
aj92 aj92 is offline Delete Rich Text by Tag Mac OS X Delete Rich Text by Tag Office 2021
Novice
Delete Rich Text by Tag
 
Join Date: Nov 2023
Posts: 9
aj92 is on a distinguished road
Default Delete Rich Text by Tag

Is there a way to write a macro that does this:




Delete all rich text content control along with the text inside of the rich text content control that doesn't contain the word "Me" in it


--


I'm hoping with this macro I'll be able to delete all text wrapped in rich text that does not have the word "Me" in its tag. Similarly, rich text that is tagged like this as an example, "Assistant 1 and Me", would not be deleted either since "Me" is listed in the tag




Thanks for your time
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Formatted Text in one Rich Text Content Control to another Rich Text Content Control Haygordon Word 1 04-05-2019 05:43 AM
Delete Rich Text by Tag Rich text/Plain text Content Controls in Template michael.fisher5 Word 9 11-19-2014 06:36 AM
Retrieving Rich Text from a RTF Text box in a User Form jpb103 Word VBA 14 06-23-2014 08:45 AM
My plain text post got converted to rich text in a reply, how to convert it back? david.karr Outlook 0 01-05-2012 09:46 AM
Templates: automatic text generation from Rich Text content control Chickenmunga Word 0 10-01-2008 11:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft