ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[¤À¨É] 数¦r¨ç数

[¤À¨É] 数¦r¨ç数

Function 数¦r(ByVal rang As String)
Dim i As Integer, str As Integer
For i = 1 To Len(rang) '¹M历单¤¸®æ¤¤¨C个¦r²Å
If VBA.IsNumeric(Mid(rang, i, 1)) Then
str = str & Mid(rang, i, 1)
End If
Next i
数¦r = str
End Function
学习

        ÀR«ä¦Û¦b : ¤â¤ß¦V¤U¬O§U¤H¡A¤â¤ß¦V¤W¬O¨D¤H¡F§U¤H§Ö¼Ö¡A¨D¤Hµh­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD