Solved

Bold not coming through in INCLUDETEXT

Posted on 2014-11-25
4
69 Views
Last Modified: 2014-11-26
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?
0
Comment
Question by:mlagrange
  • 3
4 Comments
 

Author Comment

by:mlagrange
ID: 40464773
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.
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 40465258
Three questions:

Q1 Have you tried creating a completely new source document, in case the original is corrupt?

Q2 Are you pulling in the whole document, or is it just bookmarked text?

Q3 Do you have any format switches in the Includetext field?
0
 

Author Comment

by:mlagrange
ID: 40467709
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.
0
 

Author Closing Comment

by:mlagrange
ID: 40467713
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.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Like many others, we try and discourage users from printing documents unnecessarily and instead send or share them electronically. However, this doesn't always work and documents are still printed. With this simple solution, if the user tries to …
A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now