P
Pista
Hello.
I'm trying to create a function, this is the code:
Private Function remRet(Dim myText As String)
For i = 0 To Len(myText)
If myText(i) = vbCrLf Or vbCr Then
myText(i) = " "
Next i
remRet = myText
End Function
And I get a compile error: Expected identifier - (by function argument
(array))
I am desperate Thank you all for helping me
Pista Holiga
I'm trying to create a function, this is the code:
Private Function remRet(Dim myText As String)
For i = 0 To Len(myText)
If myText(i) = vbCrLf Or vbCr Then
myText(i) = " "
Next i
remRet = myText
End Function
And I get a compile error: Expected identifier - (by function argument
(array))
I am desperate Thank you all for helping me
Pista Holiga