ªð¦^¦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
学习

str = str Mid(rang, i, 1)
¦n¹³À³¬°
str = str & Mid(rang, i, 1)

TOP

¶K¥N½X½Ð¥Î¥N½X®Ø¬[¡A´N¬O¤W­±ªº"<>''²Å¸¹
§K±o±¼¦r±¼²Å¸¹¡C

TOP

        ÀR«ä¦Û¦b : ¡i»X½ªªº¦Û¥Ñ¡j¤H±`¦b¤°»ò³£¥i¥H¦Û¥Ñ¦Û¦bªº®É­Ô¡A«o³Q³oºØÀH¤ß©Ò±ýªº¦Û¥Ñ»X½ª¡AµêÂY®É¥ú¦Ó²@µLıª¾¡C
ªð¦^¦Cªí ¤W¤@¥DÃD