I want get access to the extra mergefield information that users might add to document templates. For example, they might specify the “data to be inserted before the merge field”…
Is it possible when I process the document and apply the mail merge that I can get access to this extra information at all?
Hi
Thanks for your request. Merge field formatting is applied using formatting switches. Unfortunately, there is no direct way to access them upon executing mail merge. The only way to access them is getting and parsing field code. Field code is the text between FieldStart and FieldEnd nodes of the appropriate field. You can see field codes in MS Word by pressing Alt+F9.
Best regards,
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.