Reading/Disassembling a String of information
First off, Split is a function and, as such, operates on something... you
can't assign anything to it. Second, it takes a single String argument and
produces an array with each element of the array containing the text
occurring between the delimiters, so you would want to give it V13 to
operate on, no E13:T13. Third, you didn't tell us what you wanted to do with
the disassembled values. Here is some code which will put the disassembled
information on Row 25 starting in Column A...
Sub Test()
Dim X As Long
Dim Parts() As String
Parts = Split(Range("V13").Value, ",")
For X = 0 To UBound(Parts)
Range("A25").Offset(0, X).Value = Parts(X)
Next
End Sub
Rick
"mastermind" wrote in message
...
Thank you for the information, but I still need some help. I don't
really know what to put in the expression segment of the code. Do you
think that you could give me an example. Using the criteria given in
the initial problem statement.
Split(0, "," , -1) = Range("T13:E13")
Is what I tried and it doesn't work, probably for obvious reasons, but
if you could help me out with an example or further explaination that
would be great. Thank you.
|