Jaafar Tribak
Well-known Member
- Joined
- Dec 5, 2002
- Messages
- 9,806
- Office Version
- 2016
- Platform
- Windows
Code:
Sub test()
Dim s As String
Dim Ar() As String
s = "1,2,3,4,5"
ar = Split(s, ",")
MsgBox WorksheetFunction.Max(ar)
End Sub