Excel tip custom user defined functions VBA

Опубликовано: 30 Сентябрь 2024
на канале: XecuteTheVision™ Excel Tips
4,384
221

Learn how to make a custom user defined function in Excel for when Excel doesn't have what you need.

Function GetNumeric(CellRef As String) as Long
Dim StringLength As Integer
StringLength = Len(CellRef)
For i = 1 To StringLength
If IsNumeric(Mid(CellRef, i, 1)) Then Result = Result & Mid(CellRef, i, 1)
Next i
GetNumeric = Result
End Function

#excel #exceltips #exceltricks