Solved

Bold not coming through in INCLUDETEXT

Posted on 2014-11-25
4
75 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Authors who set out to write any sort of lengthy piece for online submission—be it a long question or comment on a technical form, an article, or a substantial blog entry—often find it useful to work up a draft in an editor other t…
Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
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 templates, what they are used for, and how to create and save a custom template using Microsoft Word.

734 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