Results 1 to 4 of 4

Thread: File IO

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    3

    File IO

    Ok, I'm using the Input and Output commands to read in a text file through Excel. All I do is read a line in and place it into a string. When I output to the file, there are " " around the text and also a <CR> at the end of the line. I need there to be only one line with no "" in this file. Any ideas on how to do this??? Thanks...

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    This code will print a variable, without any inverted commas, or a vbCrLf after it

    VB Code:
    1. Print #1, someString;
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    3
    well I'll be damned...thanks

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    no problem
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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