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
Explain Regular Expression
How do i enable RDP on a Cisco 1841 router
Seeking an example database that uses ADO coding
Custom Password Filter Windows 2003
access databse already in use
I need to strip out every vbCrLF from a field
How do I copy a template excel sheet in the same workbook in order to populate the new sheet with data from my database
How to find out who has an Access 2003 database locked
Access/Batch File
Adding Open Containing Folder to context menu