Results 1 to 3 of 3

Thread: Word document

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    62

    Word document

    How do you do an "endl" in a word document?
    Can´t find the command for it.
    //Martin Andersson

  2. #2
    New Member
    Join Date
    Jun 2004
    Posts
    3
    I am guessing you mean:

    How do I put an endl into a document that has text in it (or a variable). Take a look at this:

    textedit1.text = "Line 1" & chr(13) & chr(10) & "Line 2"

    You can use this in documents too.

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    62
    That worked.
    Thanks alot.
    Used
    word_document_main.Range.InsertAfter(Chr(13))
    to change line at the end of the document.
    //Martin Andersson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width