Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2013, 03:37 PM
slaycock slaycock is offline Replace Unless Style = Hyperlink? Windows 7 64bit Replace Unless Style = Hyperlink? Office 2013
Expert
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

Before you start exploring a conditional statement select your document and do an update (F9) then check to see if your hyperlinks have gone back to their original text. If yes then you just need to add the line



Activedocument.fields.update

to replicate the same thing programatically.
Reply With Quote
  #2  
Old 10-07-2013, 08:00 PM
Designergrrl Designergrrl is offline Replace Unless Style = Hyperlink? Mac OS X Replace Unless Style = Hyperlink? Office for Mac 2011
Novice
Replace Unless Style = Hyperlink?
 
Join Date: Oct 2013
Posts: 5
Designergrrl is on a distinguished road
Default

Quote:
Originally Posted by slaycock View Post
Before you start exploring a conditional statement select your document and do an update (F9) then check to see if your hyperlinks have gone back to their original text. If yes then you just need to add the line

Activedocument.fields.update

to replicate the same thing programatically.
Thanks slaycock. I did indeed check and the text retains its style as hyperlink, accompanied by a field containing the actual link.

I'll keep looking.
Reply With Quote
Reply

Tags
conditional, replace



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Unless Style = Hyperlink? Insert the Hyperlink and hide all sheets except clicking Hyperlink PRADEEPB270 Excel 1 02-22-2013 09:47 AM
Hyperlink/Data Insert & replace jclinton Word 1 09-19-2012 07:22 PM
Replace Unless Style = Hyperlink? Macro to replace one specific heading style with another ubns Word VBA 44 09-04-2012 08:17 PM
Find bullets and replace with paragraph style? cdybdahl Word 1 12-02-2011 02:14 AM
Find and replace multiple documents change style BaPW Word 0 08-14-2011 11:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:07 PM.


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