Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tricky Word Macro Problem

Status
Not open for further replies.

artj

Technical User
Oct 28, 2003
13
US
I'm trying to create a macro that finds a string of text with unique formatting and line spacing, and then converts it to a link. It would not be all that tricky except for the fact that some of these strings of text are broken by a paragraph mark in the middle. For example, "Accessing the Internet" and "from your easy chair" are separated by a paragraph return. I want to create a link for "Accessing the Internet from your easy chair". Both strings have the same font formatting and line spacing.

Unfortunately, it's not the only instance of a single paragraph mark so that line of attack has so far proven useless. As I mentioned, the only unique characteristics are the combined font formatting and line spacing.

Can anyone suggest some code to remove that paragraph mark from between the two strings of text?

Thanks
AJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top