> Yes, just embed the line feed in the string that you assign to the bookmark.
> There are two kinds of "line feed":
[quoted text clipped - 32 lines]
> > How can I do it in VBA ?
> > Thanks
This will go easier if you use only one bookmark, which encloses the text
you insert or read.
As explained in http://word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm,
you can work with bookmarks that are just placeholders but don't contain any
text, or you can work with bookmarks that enclose text. (They aren't really
different; it's only the way you use them that's different.)
The example I showed in my previous post, which is similar to the code at
the bottom of that article, inserts the text in an enclosing bookmark. To
read the text that's enclosed by that one bookmark, all you need is a line
like
myText = ActiveDocument.Bookmarks("bk1").Range.Text
If your code to read the document expects the text to be between two
placeholder bookmarks, then you won't get the correct results. Pick one
method or the other, and use it for both writing and reading.

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> Thanks,
> I work with MS Access,
[quoted text clipped - 57 lines]
>>> How can I do it in VBA ?
>>> Thanks
TF - 02 Nov 2006 13:02 GMT
Thank for helping me,
Ok, I use one bookmark for inserting and the same for reading a field.
as explain at your site :
(http://word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm)
It's very good site.
I've changed my program, I do this command :
==> Set RG = ActiveDocument.Bookmarks("bk1").Range
==> Frm!field1 = RG.Text
yours is more suitable :
frm!field = ActiveDocument.Bookmarks("bk1").Range.Text
But I have the major problem :
if I write several lines in my bookmark, I see these line in the Word
document.
In reading mode from the same Word document, the Access textbox concatenate
all lines in one line ?
if i have wrote :
aaaaaa
bbbbb
ccccc
in reading mode, i have an uniq line:
aaaaaabbbbbccccc
Thanks.
.
> This will go easier if you use only one bookmark, which encloses the text
> you insert or read.
[quoted text clipped - 76 lines]
> >>> How can I do it in VBA ?
> >>> Thanks
Jay Freedman - 02 Nov 2006 17:45 GMT
I don't know anything about Access automation or how it reads from Word
files. I assume that the paragraph mark in Word is available to the Access
code, but it's being suppressed for some reason. You probably need to put
the bookmark's text into a string variable in the Access code, and replace
the paragraph marks (character value ASCII 13) with some other character
that will separate the displayed text into multiple lines. Then you can
assign that revised string to the form field.
If you can't figure that out on your own, you'll have to get help from
someone else.

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> Thank for helping me,
> Ok, I use one bookmark for inserting and the same for reading a field.
[quoted text clipped - 110 lines]
>>>>> How can I do it in VBA ?
>>>>> Thanks
TF - 03 Nov 2006 11:56 GMT
Hello,
In Access I use VBA codes, T tried to convert vbcr to vbcrlf, to
vbverticaltab, the proble is still the same.
Thanks for helps.
I'll try with Access news !
> I don't know anything about Access automation or how it reads from Word
> files. I assume that the paragraph mark in Word is available to the Access
[quoted text clipped - 121 lines]
> >>>>> How can I do it in VBA ?
> >>>>> Thanks