![]() |
|
#1
|
|||
|
|||
![]()
Hey Paul,
Thanks for the reply. I am trying to hide part of a table. I have the user insert quick parts as they input new activities. Each quick part adds new rows to the table. These are then compiled into a report. Some activities later become "irrelevant" to the final report and I want the user to be able to hide these prior to printing. To complicate it, I am using rich text controls to capture the data. I removed one of these activity tables, placed it on its own, removed all the paragraph marks in the table, and placed a paragraph mark before and after the table. I also placed one of my rich text controls with the target wording on its own as a secondary test. Using the following code the table and individual rich text control did not hide: Selection.Find.ClearFormatting With Selection.Find .Text = "[!^13]{1,}DO NOT PUBLISH ACTIVITY[!^13]{1,}[^13]" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = True .MatchSoundsLike = False .MatchAllWordForms = False End With While Selection.Find.Execute Selection.Font.Hidden = True Wend I may be WAY off as I am new to VBA/macros. Am I using this code wrong? Or perhaps does it not work on tables and rich text controls??? Again, much appreciation for you help!!! Brock |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do you imbed a continuous play mp3 into a ppt | Joe Damore | PowerPoint | 2 | 09-15-2010 11:13 PM |
![]() |
fatman57 | Excel | 1 | 09-08-2010 03:57 AM |
Creating text that scrolls continuous | Mogogo | PowerPoint | 0 | 02-04-2010 11:41 AM |
continuous sound | boutells | PowerPoint | 2 | 11-27-2009 12:06 AM |
Outlook 2003 restart in a loop | Stegel | Outlook | 0 | 06-29-2007 12:34 PM |