I would open a word document with a Hex editor, and see how they terminate a line.. its normally rich text.. so /n or some other command is more likely than an actual CRLF..
On Mon, Jun 15, 2009 at 3:25 PM, Jason Coley <[email protected] > wrote: > Have you tried using just #10 (or is it just #13) > > > > Jason > > > > *From:* [email protected] [mailto:[email protected]] > *On Behalf Of *Dave O'Brien > *Sent:* Monday, 15 June 2009 1:54 p.m. > *To:* Jason > *Subject:* [DUG] MS Word replacement text > > > > I’m working with Word templates, replacing markers with text. I’m having > trouble with new lines in the text, i.e. I want a new line, but the Word > document doesn’t want to play. I have tried #13#10, but this just puts two > spaces in the text. > > > > Is there another code I need to use to force a new line? > > > > Regards, > > Dave. > > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [email protected] with Subject: > unsubscribe > -- Kyley Harris Harris Software +64-21-671-821
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
