+ Reply to Thread
Results 1 to 1 of 1

Convert freeform user input and write to a fixed length text file

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Convert freeform user input and write to a fixed length text file

    I am trying to get free form user input using a text box and print it to text file. Objective is to write into a text file with fixed length, say length=25, While writing the text, if a word is getting cut in between (if it could not be accommodated within the record length), then the complete word should be written to next line. Note: I have already tried the options of .prn and have skimmed through the forum.

    Example:
    User Input in textbox : This is a sample file Please feel free to edit.
    Expected Pattern in output text file:
    This is a sample file
    Please feel free to edit.



    Code
    -------------------------------------------
    Please Login or Register  to view this content.
    Last edited by arlu1201; 07-02-2013 at 05:22 AM. Reason: Use code tags in future.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1