Microsoft
Software
Hardware
Network
Question : splitdata macro udf
Hi experts
have the following macro and formula in the relevant cell to split the data - just need a slight amendment so it INCLUDES the number values ALSO
at present only the letter values are shown in the cell (worksheet)
Function splitdata(rng As Range)
Dim k As Long
For k = 1 To Len(rng.Value)
If IsNumeric(Mid(rng.Value, k, 1)) = False And Mid(rng.Value, k, 1) <> "/" Then
splitdata = splitdata & Mid(rng.Value, k, 1)
Else
Exit Function
End If
Next k
End Function
Answer : splitdata macro udf
Ahh the formula will be...
=IF(ISNUMBER(FIND("/"
,A1)),LEFT
(A1,FIND("
/",A1)-1),
A1)
Saurabh
...
Random Solutions
Maximum Length of "net send" message sent to entire domain
Exchange on Windows Server 2008 R2
Access 2K / 2003 bug?
One report column in Italics
Creating a comma separated list as a Function to be used in a Totals/Group By query
Samsung omnia
Error 405 method not allowed when using WebClient()
Script to read and ping default gateway needs an enhancement
Differences between CREATE TYPE and sp_addtype
Word/Excel Mail Merge with variable worksheet name