Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-15-2016, 01:20 PM
amikelsons amikelsons is offline How to self-reference a bookmark? Windows 7 64bit How to self-reference a bookmark? Office 2010 64bit
Novice
How to self-reference a bookmark?
 
Join Date: May 2016
Posts: 2
amikelsons is on a distinguished road
Default How to self-reference a bookmark?

I'm setting up an xml mail merge template. I need to have a bookmark self-reference itself (am trying to use it as a variable that adds onto itself with every record), but i keep getting the error "Not a valid bookmark self-reference".


Here is what I'm trying to do:
{IF {MERGEREC} = "1"}{SET ItemList ""}
{SET ItemList "{REF ItemList}{MERGEFIELD Quote_Product_Existing_Product}"}

I found someone's solution to the same problem only they were trying to do numeric calculations. The suggestion was to use:
{ SET C "{= {mergefield qty} + {REF C}" }
and the poster said that it worked perfectly. Though mine is different without the = part (also it seems to me that they are missing a }), and it's not working. What am I missing? Please help! thanks.
Reply With Quote
 

Tags
bookmark, mail merge, self-reference



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find Bookmark, move to bookmark, execute code, repeat raymm3852 Word VBA 10 04-15-2016 06:21 PM
How to self-reference a bookmark? Bookmark Not Showing Bookmark RegAudit Word 6 03-16-2015 11:08 PM
How to self-reference a bookmark? Reference number and cross reference for equation numbers to match the thesis format wmac Word 1 05-14-2013 08:54 PM
How to self-reference a bookmark? Need help with using bookmark and cross-reference mpdsal Word 1 07-26-2012 01:05 PM
How to self-reference a bookmark? updating multiple bookmark reference all at once gib65 Word 3 09-17-2011 10:40 AM

Other Forums: Access Forums

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