Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove ' from a line of Text (Excel 2002)

    Hi

    I am builting a text string and writing this to a text file eg..

    strText1="ABC"
    strText2="123"

    write #1, strText1+chr(9)+strText2

    The result I get in the text file is

    "ABC 123"


    What I wnat is
    ABC 123

    No quotes, anybody know how to prevent this on each line.

    Regards

    Mike

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Remove ' from a line of Text (Excel 2002)

    Use Print #1, ... instead of Write #1, ...

  3. #3
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove ' from a line of Text (Excel 2002)

    Thanks... perfect

Posting Permissions

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