Jack in the UK
Well-known Member
- Joined
- Feb 16, 2002
- Messages
- 3,215
I have designed this UDF OK wonderful for races or { [ } } ( ) or whatever but i can not remover stars * ??? why not can this be edited??? Any ideas guys
Function JackintheUK_RemvBraces(MyRange As Range) As String
Dim strResult As String
Application.Volatile
If InStr(1, MyRange, "(")<> 0 Then
strResult = Trim(Left(MyRange, _
WorksheetFunction.Search("(", MyRange) - 1))
Else
strResult = MyRange
End If
JackintheUK_RemvBraces = strResult
End Function
_________________<embed width="200" height="50" src="http://homepage.a5.com/~kristy/misc/jack.swf">
This message was edited by Jack in the UK on 2002-09-18 15:27
Function JackintheUK_RemvBraces(MyRange As Range) As String
Dim strResult As String
Application.Volatile
If InStr(1, MyRange, "(")<> 0 Then
strResult = Trim(Left(MyRange, _
WorksheetFunction.Search("(", MyRange) - 1))
Else
strResult = MyRange
End If
JackintheUK_RemvBraces = strResult
End Function
_________________<embed width="200" height="50" src="http://homepage.a5.com/~kristy/misc/jack.swf">
This message was edited by Jack in the UK on 2002-09-18 15:27