im trying to record a user input which is a list of words separated by commas. Which i need to store as an array. Here is my attempt, but i am not too good at this. Thanks!
Dim arWords() As String
myt = InputBox("Enter User Input")
arWords() = Split(myt, ",")
For X = 0 To UBound(arWords())
myf = myf & arWords(X) & vbCr
Next X
arWordsis the array, sinceSplitreturns an array. Where else are you stuck?,to next line, can't you just doReplace(myt,",",vbCr)?vbNewLineinstead ofvbCr. The former is OS-independent.