WordPipe Search and Replace: Online Help
    Replacing inside hyperlinks
 

Submit feedback on this topic 

Menus: File   Options   Help   Running WordPipe  Screens: Actions   Files to process   Options   Status dialog
Up

 

 

 

Hyperlinks are one of the buggiest parts of Word, and contrary to popular belief, there are actually three parts to them:

  1. The displayed text e.g. 'Click here to access \\bnepf5\data'
  2. The hyperlink in the field code e.g. {HYPERLINK "\\\\bnepf5\\data"}
  3. An internal hyperlink used by Word, only accessible from program code.

The problem stems from the fact that Word does not correctly keep #2 and #3 synchronized.

So to replace a hyperlink of \\bnepf5\data with \\osrhome\data involves THREE searches:

  Use Find What of: and Replace with of: Where to Search Options
1 \\bnefp5\data \\osrhome\data Body, Header, Footer  
2 \\\\bnefp5\\data  (*) \\\\osrhome\\data Body, Header, Footer Inside field codes
3 \\bnefp5\data \\osrhome\data Inside hyperlinks  

* Note that backslashes in the filename are ONLY doubled when searching inside field codes.

 

 

 Contact Us   |  Support   |  Community
 Copyright © 2001-2009 DataMystic. All rights reserved.