Please – what is the purpose of the Mergeformat field, and what would happen if I got rid of it?
Mike
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Field Mergeformat Switch
Please – what is the purpose of the Mergeformat field, and what would happen if I got rid of it?
Word often adds the * MERGEFORMAT “switch” to fields you insert. This apparently forces the content of fields (whether generated, e.g., DATE) or copied (e.g., REF) to match the direct formatting you have applied to the field code, or the formatting of the underlying paragraph. Those in the know say that in most cases, you don’t really need it, so if it bothers you, go ahead and delete it. If you find that the alien formatting appears in some fields in your document, you can add the switch back, and re-apply the formatting you want.
Word often adds the * MERGEFORMAT “switch” to fields you insert. This apparently forces the content of fields (whether generated, e.g., DATE) or copied (e.g., REF) to match the direct formatting you have applied to the field code, or the formatting of the underlying paragraph. Those in the know say that in most cases, you don’t really need it, so if it bothers you, go ahead and delete it. If you find that the alien formatting appears in some fields in your document, you can add the switch back, and re-apply the formatting you want.
I have a document in which we use an includetext field like this {INCLUDETEXT “spec project info.docx” projheader * MERGEFORMAT “} and what I am finding is that if the bookmarked text in “projheader” has more than 7 words (with 6 spaces) the last word of the bookmarked text and and subsequent text will not format correctly and looks like this “BASIC MATERIALS AND METHODS FOR PLUMBING WORK TG&W Engineers, Inc.”. Note that starting at the word “WORK” the text is no longer bold. If I edit the bookmarked text to have less spaces all the text is formatted correctly. Other documents with less words work correctly. I have tried adding * charformat switch and get the same result.
Any ideas on how to fix?
Try substituting * CHARFORMAT instead. Format the first word of the field code the way you want the field to display in your document.
More references: Fields in Microsoft Word
There is no meaningful limit on what can be imported via an INCLUDETEXT field (up to 512MB, actually, depending on what else you have in the target document). The formatting problems most likely stem from the misuse/abuse of Styles in the source and/or target documents.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Cross-posted at: http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/includetext-formatting-issue/28f869e3-b810-4104-a352-7fba8d154dee
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.