+ Reply to Thread
Results 1 to 3 of 3

Cell Charecter Limit

  1. #1
    Soniya
    Guest

    Cell Charecter Limit

    Hi All,
    By going thru this news group I find the maximum charecter limit for a
    cell is 32768 and
    only 1024 can be displayed.

    I also noticed that when I try to print those charecters are not
    printed too.

    I am getting a textbox data to my cell A2. How cud I code to split the
    data to A2 and A3 in case the charavcters are more than 1024?

    Thanks


  2. #2
    Forum Contributor
    Join Date
    03-24-2004
    Location
    Edam Netherlands
    Posts
    181
    j = 1
    k = 1

    For i =1 to Len(FormString)

    Range("A" & k).value = Range("A" & k).value & Mid(FormString,i,1)

    If j = 1024 Then

    j = 0

    k = k + 1

    end if

    j = j + 1

    next i

  3. #3
    JE McGimpsey
    Guest

    Re: Cell Charecter Limit

    One way:

    Dim i As Long
    For i = 0 To Int((Len(sText) - 1) / 1024)
    Range("A1").Offset(i, 0).Value = _
    Mid(sText, (i) * 1024 + 1, 1024)
    Next i



    In article <1133175754.397531.100040@g49g2000cwa.googlegroups.com>,
    "Soniya" <Melepoil@gmail.com> wrote:

    > Hi All,
    > By going thru this news group I find the maximum charecter limit for a
    > cell is 32768 and
    > only 1024 can be displayed.
    >
    > I also noticed that when I try to print those charecters are not
    > printed too.
    >
    > I am getting a textbox data to my cell A2. How cud I code to split the
    > data to A2 and A3 in case the charavcters are more than 1024?
    >
    > Thanks


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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