Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() In that case, you don't need Split function Code ------------------- Function functionseparator(txt As String) Dim delim, x As Integer, num(4) As Integer, i, ii, Maxnum delim = Array("+", "/", "*", "^", "-") For i = LBound(delim) To UBound(delim) x = InStrRev(txt, delim(i)) num(ii) = x: ii = ii + 1 Next Maxnum = Application.Max(num) functionseparator = Right(txt, Len(txt) - Maxnum) End Functio ------------------- -- jindo ----------------------------------------------------------------------- jindon's Profile: http://www.excelforum.com/member.php...fo&userid=1313 View this thread: http://www.excelforum.com/showthread.php?threadid=38827 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
pass variable from one workbook to another | Excel Discussion (Misc queries) | |||
How to pass a variable into an SQL statement | Excel Discussion (Misc queries) | |||
Using Public to Pass Variable | Excel Programming | |||
Pass Variable Question | Excel Programming | |||
How to pass variable value between macros | Excel Programming |