View Single Post
  #4   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;
}