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
SQL 2005 refreshing database users
Computer Freezes when entering standby and hibernate
Function Key to go to the bottom of and edit field
Exchange Server 2003 SMTP Problems
Cannot create Web app for Shared Service Provider setup in Sharepoint 2007
Insert ArrayList into SQL Database
Cascading Combo Boxes on a Form (Access 2007)
How Do I Test If A PivotItem Exists?
Exporting report to excel
split comma delimited values into seperate columns