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
Compile Error: Variable not defined
Validate bound field
SharePoint custom Dispform.aspx not showing some column data
Access Report- field value is null label does not show
smart drive cannot loaded becouse the xms driver ,himem.sys is not loaded ???
How do I run gacutil to restore System.EnterpriseServices.<wbr />dll?
How to save record changes in a sub-form
Microsoft SQL server 2005 wont start after updates.
Reading and Writing a decimal number to and from the registry through an Excel UserForm
Runtime Error 3070