Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Bold not coming through in INCLUDETEXT

Posted on 2014-11-25
4
Medium Priority
?
85 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 77

Accepted Solution

by:
GrahamSkan earned 2000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

580 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