Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-24-2012, 04:46 PM
Chayes Chayes is offline Selecting text between two key phrases Windows XP Selecting text between two key phrases Office 2003
Advanced Beginner
Selecting text between two key phrases
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default

HI



Ok thanks for getting back.

I'm trying to use VBA to find the text including and between 'MORE INFO ABOUT THE ITEM ' and 'ITEM NUM : ' , and then delete it.

My problem is that there are several times when this occurs , so I need each occurrence to be identified and deleted. Either all at once , or one after another.

Can this be done?
I'd be grateful if you could suggest some code to help.

The code would need to run through and find the first section between the string statements and delete. Then search for any more , and delete as it finds them. I'm trying to tidy some text which has these phrases repeated throughout and I'm looking ofr a way to weed them all out at a go.

Thanks again
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about selecting text w/mouse Jazz43 Word 3 11-29-2011 11:58 PM
Selecting styled text Caroline Word 5 02-15-2011 12:55 PM
Selecting text between two key phrases Automatically Hyperlink phrases TinaIgnatiev Word 1 12-22-2010 01:42 PM
Selecting text between two key phrases Selecting specific text out of a series of columns speedycorn1 Word 3 11-01-2010 02:58 PM
Selecting a Text Box gajesh Word 0 09-02-2009 11:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:51 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