Extract phone numbers from comments in Excel

preview_player
Показать описание
The video offers a short tutorial on how to extract phone numbers from comments in Excel.
Рекомендации по теме
Комментарии
Автор

I am not sure why this is not working for me
😂

JagadishVakati
Автор

and also maybe you should put nice music in the background

guyschwarts
Автор

Public Function PhoneN(s As String) As String
Dim D As Long, p As Long, text As String
Dim CH As String
D = Len(s)
text = ""
PhoneN = ""
For p = 1 To D
CH = Mid(s, p, 1)
If IsNumeric(CH) Then
text = test & CH
If Len(text) = 10 Then
PhoneN = PhoneN & vbCrLf & text
End If
Else
text = ""
End If
Next p
End Function

hugegainz