Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2005

Tip: Looking for answers? Try searching our database.

Delete Unwanted Sections

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mmikedm1000 - 23 Nov 2005 00:25 GMT
I am trying to write a Macro that will search a word document and find "See
Also" and delete that and all of the following text on that page.  Is there a
way to identify that portion of text and delete it?  After See Also there is
a page break and the new page always begins with a style Header 1, 2, or 3.  
How can I create a find/replace to find the text "See Also" + all text up to
a page break, or Style H1, H2, or H3, which ever is easier?

Any direction is appreciated.

Thanks,  
Signature

Michael

Jezebel - 23 Nov 2005 01:15 GMT
You don't need a macro. Using Find and Replace with 'Use Wildcards'
checked ---

Search for: See also*^012
Replace with: ^012

^012 is the 'page break' character.

>I am trying to write a Macro that will search a word document and find "See
> Also" and delete that and all of the following text on that page.  Is
[quoted text clipped - 10 lines]
>
> Thanks,

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.