Guest User

GetNumeric Excel Function

a guest
Nov 10th, 2021
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function GetText(CellRef As String)
  2. Dim StringLength As Integer
  3. StringLength = Len(CellRef)
  4. For i = 1 To StringLength
  5. If Not (IsNumeric(Mid(CellRef, i, 1))) Then Result = Result & Mid(CellRef, i, 1)
  6. Next i
  7. GetText = Result
  8. End Function
Advertisement
Add Comment
Please, Sign In to add comment