Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-21-2011, 02:43 PM
Philcraig69 Philcraig69 is offline Help with Word macro please Windows 7 64bit Help with Word macro please Office 2003
Novice
Help with Word macro please
 
Join Date: Jan 2011
Posts: 2
Philcraig69 is on a distinguished road
Default Help with Word macro please

Hi,

I use this simple macro:



Dim alink As Field
For Each alink In ActiveDocument.Fields
If alink.Type = wdFieldHyperlink Then
alink.Unlink
End If
Next alink

to remove all hyperlinks from a document. Now I need to remove only the hyperlinks with the word APPLE in the url, and leave the others alone -- how would I modify the macro??
Thanks for any help!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Macro in MS Word steve207 Word VBA 0 09-10-2010 02:11 AM
Help with Word macro please word macro username Swarv Drawing and Graphics 4 06-16-2010 09:05 AM
Word 2003 macro to Word 2007 to 2010 to... maruapo Word VBA 0 06-04-2010 03:43 PM
Word Macro Tutorial Jax Word VBA 0 04-27-2010 09:13 PM
Word macro weezypenguin Word 0 02-25-2010 01:25 PM

Other Forums: Access Forums

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