Avatar of mlagrange
mlagrange
Flag for United States of America asked on

Bold not coming through in INCLUDETEXT

Hello - I've got a mail merge document with 1 paragraph that could be 3 different versions, depending on some other fields in the mail merge data source. These three different versions are stored in 3 separate Word doc's, and I'm using IF...MERGEFIELD = ... INCLUDETEXT... to bring them in.

All three of these versions contain a sentence which starts  with "The deadline for these refunds", and the entire sentence is in bold.

As usual, everything works fine with 2 of the inserted doc's, but with the 3rd doc, the "The " starting the sentence does not show in bold when it is inserted. It shows bold back in it's separate doc, but not as it is inserted in the main doc.

I have cut the text in the 3rd doc out and pasted into NotePad to remove the formatting, and then copied and pasted it back in, and re-applied the formatting. No help.

I have made sure I am doing Control/A, F9 to refresh the links in every attempt, even to the point of putting some dummy text the 3rd doc just to make sure it is getting pulled in and refreshed (it is).

I have added an extra "The " in front of the original "The deadline for these refunds". The 1st "The" is still un-bolded, but the 2nd "The" is then bold...

Anybody seen this before?
Microsoft Word

Avatar of undefined
Last Comment
mlagrange

8/22/2022 - Mon
mlagrange

ASKER
Ok, more details.

I changed the formatting from bold to underline in the last sentence of that 3rd doc (saved and closed). It did not pull in to the main doc like that. It still comes in like before, with that sentence in bold, except for the first word.

I replaced the "\\"'s in the INCLUDETEXT syntax with "\"'s, and nothing changed, no error.
 
I changed the name of the inserted doc, and the main doc barked about "not a valid file name".

I am careful to do the Control/A, F9 with all these tries.
ASKER CERTIFIED SOLUTION
GrahamSkan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
mlagrange

ASKER
Q1 - sort of... this is going to be tough to explain. Please don't feel like you need to hang in though this...

I renamed the doc with the problem (renamed "ProbDoc.doc" > "zProbDoc.doc"),
Copied one of the other working doc's to replace it (copied "GoodDoc.doc" > "ProbDoc.doc"),
Copied in the needed text from "zProbDoc.doc" into the new "ProbDoc.doc",
Opened the main document that INCLUDETEXT's them both, and it STILL didn't work...

So then I deleted "ProbDoc.doc"
Renamed "zProbDoc.doc" back to "ProbDoc.doc"
Opened the main doc again, just for the sheer futility of it, and IT WORKED!

I don't know... it's Thanksgiving week here...  so I Gave Thanks...


Q2 - the whole doc. All 3 doc's I'm pulling in just consist on one paragraph each.

Q3 - each of the included doc's have one sentence that is underlined, and one sentence that is bold.

So for whatever reason, it's working now. I was just hoping somebody would know why this was happening in the first place.

Thanks for your response, Graham.
mlagrange

ASKER
My problem seemed to correct itself, for no reason I can explain.
I'm accepting Graham's answer, because he makes 3 very good suggestions for things to look at/for.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23