Consulting

Results 1 to 2 of 2

Thread: Solved: Problem with textfile save

  1. #1
    VBAX Regular
    Joined
    May 2007
    Location
    SE Michigan
    Posts
    11
    Location

    Solved: Problem with textfile save

    I have a userform that has a textbox that contains a formatted display of a document that is created using excel vba. I save the contents of the textbox to a text file. I can then email the text file to a recipient and they can open it with notepad. The problem I am having is that when I save teh contents of the textbox to a textfile the string is saved with quotation marks (") before and after the string. I tried saving textbox.value and textbox.text but I get the same result. Is it posible to save this information so that it does not contain the quotation marks around the content? Do I need to create my text file with a shell call to notepad instead of Open file for Output?

    Sorry, guess I did not stay at it long enough - problem solved.
    Last edited by callen2468; 05-29-2009 at 06:15 AM.
    "There are 10 types of people in the world - those that get binary and those that don't."

  2. #2
    VBAX Regular
    Joined
    May 2007
    Location
    SE Michigan
    Posts
    11
    Location
    If anyone wants to know - I created a text file using a scriptiing object.
    "There are 10 types of people in the world - those that get binary and those that don't."

Posting Permissions

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