Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Mail Merge

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1  
Old 09-29-2017, 12:05 AM
7ohm7 7ohm7 is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Sep 2017
Posts: 2
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
  #2  
Old 09-29-2017, 03:16 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,644
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

I have already answered this question - in full - at: https://answers.microsoft.com/en-us/...8-02da24e1a932
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
  #3  
Old 09-30-2017, 12:52 AM
7ohm7 7ohm7 is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Sep 2017
Posts: 2
7ohm7 is on a distinguished road
Default

Sorry Paul, that's not true - posts are diferrent:
- in the first you tell me only there is no workaround with "REF in IF" - I mentioned it above
- therefore I ask this community to help me to find ALTERNATIVES - nobody gives me this answer.

So please, this post is opened and question unaswered. Thank you.
  #4  
Old 09-30-2017, 01:24 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,644
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Instead of arguing, kindly read the link I posted. End of discussion.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Closed Thread

Tags
cross-reference, field codes, mail merge

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross reference is bad. Leffken Word 1 06-09-2016 03:12 PM
Style for Cross-reference XTe Word 1 03-17-2016 07:41 PM
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
Cross-reference in two lines!!!!! Jamal NUMAN Word 3 04-12-2011 06:47 AM


All times are GMT -7. The time now is 05:13 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft