Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-29-2017, 12:05 AM
7ohm7 7ohm7 is offline Alternating whether cross-reference is shown or not Windows 7 64bit Alternating whether cross-reference is shown or not Office 2007
Novice
Alternating whether cross-reference is shown or not
 
Join Date: Sep 2017
Posts: 4
7ohm7 is on a distinguished road
Exclamation Alternating whether cross-reference is shown or not

Hello,
I need to alternate in mail merge whether the cross-reference (to number of paragraph) in template is shown in final records or not, but where it is shown, I need it to be active - with hyperlink and flexible as normal cross-reference.
Normal cross-reference field code is like {REF _Ref.. \w \h } used e.g. in "as we have metioned in paragraph {REF _Ref.. \w \h } above"

According to my testing and Paul Edstein - this solution does not work:
{ IF condition/mergefield = TRUE/"XY" { REF _Ref.. \w \h } "" }
If condition is met result looks fine, but the "reference" is only a simple text, no hyperlink, no flexibility - so is no longer a reference. However the cross-references I have in my template as fixed (no need to alternate whether they are shown in final records) - these are inserted in final records correctly with hyperlink and flexibility. So not mail merge is problem, only nesting REF in IF field code, where the hyperlink switch "\h" has lost someway.



So I return to original question - please do someone know solution how to alternate whether cross-reference is shown or not (with all functions which cross-reference offers)? Thank you in advance.

PS. Paul sorry for duplicating this question to you, but is very important for me. Thanky you for understanding.

Last edited by 7ohm7; 09-29-2017 at 01:41 AM. Reason: clarification
 

Tags
cross-reference, field codes, mail merge



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross reference is bad. Leffken Word 1 06-09-2016 03:12 PM
Alternating whether cross-reference is shown or not Style for Cross-reference XTe Word 1 03-17-2016 07:41 PM
Alternating whether cross-reference is shown or not Reference number and cross reference for equation numbers to match the thesis format wmac Word 1 05-14-2013 08:54 PM
Cross-reference problem Marineboy Word 2 08-05-2011 03:37 AM
Alternating whether cross-reference is shown or not Cross-reference in two lines!!!!! Jamal NUMAN Word 3 04-12-2011 06:47 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft