M
Michelle
I have posted this in a different form too - sorry if it's repetitive
I am using a variant which is converted to an array, using the Split
function and then each element is put into a cell
But it doesn't like having more that 255 characters in any element - I get a
#VALUE! error in the cell, and no more data in subsequent elements
Can I make them bigger in any way? I assume that it's the SPLIT function, is
there an alternamtive?
Here's the relevant code
===
dim vArr as Variant
vArr = Split(BigString, ".")
Set tRange = Sheets("Monologue").Cells(2, 2).Resize(UBound(vArr) -
LBound(vArr) + 1, 1)
'trange2 = Sheets("Monologue").Cells(2, 2).Resize(UBound(vArr) -
LBound(vArr) + 1, 1).Address
For Each tCell In tRange
tCell = vArr(tCell.Row - 2)
Next tCell
===
thanks
M
I am using a variant which is converted to an array, using the Split
function and then each element is put into a cell
But it doesn't like having more that 255 characters in any element - I get a
#VALUE! error in the cell, and no more data in subsequent elements
Can I make them bigger in any way? I assume that it's the SPLIT function, is
there an alternamtive?
Here's the relevant code
===
dim vArr as Variant
vArr = Split(BigString, ".")
Set tRange = Sheets("Monologue").Cells(2, 2).Resize(UBound(vArr) -
LBound(vArr) + 1, 1)
'trange2 = Sheets("Monologue").Cells(2, 2).Resize(UBound(vArr) -
LBound(vArr) + 1, 1).Address
For Each tCell In tRange
tCell = vArr(tCell.Row - 2)
Next tCell
===
thanks
M