Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What could be wrong with the following piece of code for a UDF?
Function NFW(RNG As Range) Dim RSLT As String RSLT = "" For X = 1 To Len(RNG) If Asc(Mid(RNG.Text, X, 1).Value) 47 And _ Asc(Mid(RNG.Text, X, 1).Value) < 58 Then RSLT = RSLT & Mid(RNG.Text, X, 1) End If Next NFW = RSLT End Function -- Thanx in advance, Best Regards, Faraz |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting first two digits of a time entry!! | Excel Programming | |||
extracting digits to the right of a decima point | Excel Worksheet Functions | |||
extracting digits to the right of a decima point | Excel Worksheet Functions | |||
Extracting 1st 3-digits of postal code that begin with 0 | Excel Worksheet Functions | |||
extracting numbers with no more than 8-digits using advanced filtering | Excel Worksheet Functions |