I've never even thought about it. A function returns a value. I have
used the results of a function as an argument to another function
though.
Psuedo Code:
Sub test() 'Start Here with Pressing F8
GetString ("Hello-World")
End Sub
Public Function GetString(strString As String) As String
StripChars2 (strString)
End Function
Public Function StripChars2(strText As String) As String
strTestString = strText
strStripChars = " ()-"
For i = 1 To Len(strStripChars)
strBadChar = Mid(strStripChars, i, 1)
strTestString = Replace(strTestString, strBadChar, vbNullString)
Next
Debug.Print strTestString
End Function