or
I don't see why you are putting the brackets around A1?
=Reconfig(C10)
Remove the 2nd = sign
=iferror(Reconfig(C10),"")
Is this a UDF
Why don't you show use the real formula, rather than "meaningless"Code:=Reconfig(C10)
You will always get a NAME error if the formula doesn't exist, as it can't be evaluated !!!
Function Reconfig(S As String)
Dim V As Variant, i As Variant
V = Split(S, " ")
For i = 1 To UBound(V) + 1
Reconfig = Reconfig & i & "• " & V(i - 1) & " "
Next i
End Function
Are you sure your Dim V as Variant isn't sat on the function line (like it is in the thread) rather than on the second line like it should be (as in the code below) as I get a 0 if C10 is empty?
Code:Function Reconfig(S As String) Dim V As Variant, i As Variant V = Split(S, " ") For i = 1 To UBound(V) + 1 Reconfig = Reconfig & i & "• " & V(i - 1) & " " Next i End Function