Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / May 2005

Tip: Looking for answers? Try searching our database.

Have a document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Vardinghus - 17 May 2005 20:56 GMT
doing something weird with the combination of using field codes to get text
from another document at the
start of a bullet list.

This results in not showing the first bullet.

When removing field references it shows the correct result - would be a
problem alwas having to do that.

Are there somewhere you can post a file so someone else can take a look at
it ?
Stefan Blom - 18 May 2005 10:48 GMT
The formatting of the source document overrides the bullet formatting
in the document containing the reference. Display field codes (press
ALT+F9) and move the INCLUDETEXT field into an empty paragraph. This
should do the trick.

Note that if you need the same formatting in both documents, apply the
same style to the relevant paragraphs.

Signature

Stefan Blom
Microsoft Word MVP

> doing something weird with the combination of using field codes to get text
> from another document at the
[quoted text clipped - 7 lines]
> Are there somewhere you can post a file so someone else can take a look at
> it ?
Michael Vardinghus - 18 May 2005 22:50 GMT
Examle + other advice - no luck with this one - move the includetext where ?

--> Start own example

IF {COMPARE {DOCVARIABLE "GARNEDDATO1" \* MERGEFORMAT} <> " " \*
MERGEFORMAT } = 1 {INCLUDETEXT "C:\FIL1.DOT" \* MERGEFORMAT} {INCLUDETEXT
"C:FIL2DOT" \* MERGEFORMAT} \* MERGEFORMAT}

The text in the first document is (sorry bout the danish...:):

Den 10. december nedskrives garantien til 10 % .....
Den 15. december nedskrives garantien yderligere til 2 % ...

When putting bullets around the code it shows up like this:

Den 10. december....
B. Den 15. december ...

And not like this:

A. Den 10. december
B. Den 15. december

But when hitting CTRL SHIFT F9 i get this

<-- Stop own example

--> Start advice 1

Let's get rid of all those mergeformats for a start.

Try:

{IF {COMPARE {DOCVARIABLE "GARNEDDATO1"} <> " " } = 1 "{INCLUDETEXT
"C:\\FIL1.DOT" \*charformat}"
"{INCLUDETEXT "C:\\FIL2.DOT" \*charformat}"}

and apply the bulleted paragraph style to the whole paragraph.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

<-- Stop advice 1

> The formatting of the source document overrides the bullet formatting
> in the document containing the reference. Display field codes (press
[quoted text clipped - 22 lines]
> look at
> > it ?
Stefan Blom - 19 May 2005 09:15 GMT
Since INCLUDETEXT is nested within other fields, of course you cannot
move just that field. What I meant was to keep the entire field
construct in a separate paragraph.

Add \* MERGEFORMAT to the field code and update the field. With the
field result displayed, apply the desired style to the referenced
paragraphs in the target document.

Note that this means that if paragraphs are added to the source
document, you'll have to apply the style to the new paragraphs of the
target document. Depending on how much the text of the source document
changes, this could be difficult to maintain.

A way to work around the problem (though perhaps not an ideal one) is
to format the text of the source document with the same style as that
of the target document and remove \* MERGEFORMAT from the INCLUDETEXT
field.

Signature

Stefan Blom
Microsoft Word MVP

> Examle + other advice - no luck with this one - move the includetext where ?
>
[quoted text clipped - 71 lines]
> > look at
> > > it ?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.