Thread
:
Splitting out text in VBA
View Single Post
#
3
Posted to microsoft.public.excel.programming
Jim Rech
external usenet poster
Posts: 2,718
Splitting out text in VBA
I don't know what CurrentCell is but this works
Sub a()
Dim Text_Array As Variant
Text_Array = Split(ActiveCell.Value, Chr(44))
MsgBox Text_Array(0)
MsgBox Text_Array(1)
End Sub
--
Jim Rech
Excel MVP
Reply With Quote
Jim Rech
View Public Profile
Find all posts by Jim Rech