Glory
Well-known Member
- Joined
- Mar 16, 2011
- Messages
- 640
I don't understand how to use this function.
This returns type mismatch. Everything I do with this returns type mismatch, including:
...as well as...
Please help me figure out how to use the split function.
Code:
MsgBox Split(ActiveCell.Contents)
Code:
a = Split(ActiveCell.Value)
ActiveCell.Offset(1, 0).Value = a
Code:
Do
b = b + 1
ReDim Preserve a(1 To b)
a() = Split(ActiveCell.Value, , 3)
ActiveCell.Offset(b, 0).Value = a(b)
Loop Until b = 3
Please help me figure out how to use the split function.