troubleshooting Question

How to Unlink and Unformat Hyperlinks Between Two Characters?

Avatar of marrick13
marrick13 asked on
Microsoft WordVBA
2 Comments2 Solutions9 ViewsLast Modified:

Unlink Hyperlinks Between Brackets.docm

Have a macro called "Remove_Hyperlink_Between_Characters" (attached ) that is intended to unlink text that sites between two characters, < and > in this version, and remove whatever underlining and bold the link has (in other words, make it plain text). This is usually for email addresses that end up being links and become bold and underlined when copied from an online email client.

It works perfectly except that it does not remove the bold for some reason. The intellisense is not working when I enter the ".bold", but does with the .underline, so obviously I'm missing something here.

The attachment has the code and some samples that get unlinked but if they start out bold, remain bold, and I want their boldface removed.

What am I missing?


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros