If I add these declarations:
it runs without a hitch up to a length of 32767 characters in any cell.Dim DT Dim ar As Variant Dim arr As Variant Dim var As Variant Dim j As Long Dim i As Long Dim n As Long Dim Str As String
If I add these declarations:
it runs without a hitch up to a length of 32767 characters in any cell.Dim DT Dim ar As Variant Dim arr As Variant Dim var As Variant Dim j As Long Dim i As Long Dim n As Long Dim Str As String