+ Reply to Thread
Results 1 to 2 of 2

Cut textbox string in new strings of 50 characters

  1. #1
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Cut textbox string in new strings of 50 characters

    Hello all,

    Is it possible to cut a textbox string into new strings with a length of max 50 characters.
    even better still would be if the strings are cut at the end of a word close to the 50 characters.

    All help is welcome

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Cut textbox string in new strings of 50 characters

    You don't say what to do with the chopped strings, so the following returns an array where no element is longer than the specified length.

    Please Login or Register  to view this content.
    Notice the issue with the "(' ')" - unavoidable with this method
    Last edited by cytop; 09-30-2016 at 06:59 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Break text string up into sub strings of 50 characters
    By Michaelsgoldman in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-18-2015, 06:10 PM
  2. Replies: 2
    Last Post: 06-07-2015, 08:43 AM
  3. [SOLVED] VBA, remove all characters within a string, except numerical characters and full stops
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-25-2015, 09:24 PM
  4. add a string of locked text to vba textbox based on entry in the same textbox
    By yoursamrit2000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-21-2014, 11:48 PM
  5. [SOLVED] VBA Code for Textbox: First 3 characters Alphabets next 3 characters numeric
    By honger in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-11-2013, 01:05 AM
  6. [SOLVED] Extract left characters from string with exception of 2 right characters
    By sweetkel23 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-16-2012, 10:45 PM
  7. Replies: 3
    Last Post: 05-07-2012, 09:46 PM

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