Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ep ep is offline
external usenet poster
 
Posts: 15
Default 255 char limit on TextBox

And if anyone else is interested, here's my c# translation:

int j = 0;
while (j < sText.Length)
{
if (j + 250 <= sText.Length)
sPart = sText.Substring(j, 250);
else
sPart = sText.Substring(j);

txtBox.TextFrame.Characters(j, missing).Insert(sPart);
j += 250;
}
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Character limit in textbox Ashley Excel Worksheet Functions 1 September 10th 08 01:33 AM
How do I get around the 255 char limit? Dave H Links and Linking in Excel 3 June 13th 06 01:25 PM
LIMIT NUMBER OF CHAR IN A COMBINE CELL rafaeljsg Excel Discussion (Misc queries) 1 October 5th 05 04:15 PM
Validation through VBA using string has 255 char limit?????? Allan[_3_] Excel Programming 0 May 6th 04 11:51 PM
Limit to 50 char only singkit Excel Programming 2 April 2nd 04 01:34 AM


All times are GMT +1. The time now is 11:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"