Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2011, 06:54 PM
macropod's Avatar
macropod macropod is offline Continuous Loop Windows 7 32bit Continuous Loop Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,514
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

Hi cksm4,

Your code suggests you might be trying to hide the whole of the paragraph containing the string "DO NOT PUBLISH ACTIVITY". Is that correct? If it is, there's a much simpler way - a wildcard Find/Replace, where:
Find = [!^13]{1,}DO NOT PUBLISH ACTIVITY[!^13]{1,}[^13]
or, in vba parlance:
.Text = "[!^13]{1,}DO NOT PUBLISH ACTIVITY[!^13]{1,}[^13]"
.MatchWildcards = True
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
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
Continuous Loop Excel recovery loop problem 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

Other Forums: Access Forums

All times are GMT -7. The time now is 11:22 PM.


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