transfer string to number(¤p°ÝÃD½Ð±Ð)
- ©«¤l
- 147
- ¥DÃD
- 46
- ºëµØ
- 0
- ¿n¤À
- 205
- ÂI¦W
- 0
- §@·~¨t²Î
- windows xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2012-3-19
- ³Ì«áµn¿ý
- 2021-5-21
|
transfer string to number(¤p°ÝÃD½Ð±Ð)
¥»©«³Ì«á¥Ñ jj369963 ©ó 2013-10-20 19:29 ½s¿è
Dear ¦U¦ì¤j¤j»P«e½úÌ¡G
¦pªþÀÉ¡A·Q±NDÄæ¨ìCOÄæ¦ìÂন¼Æ¦r®æ¦¡¡A¥Ø«e¥Î¥H¤U¥N½X¸Õ¹L¦¨¥\¡Abut ¬On¤@Ó¤@Ó¼g¨ìCOÄæ¶Ü?
½Ð°Ý¬O§_¦³¨ä¥L¤è¦¡?µo°Ý¬O¶i¨Bªºì°Ê¤O¡A¦A·Ð½Ð¦U¦ì¥ý½ú«ü±Ð¡A·PÁÂ- Sub transfer()
- Dim RngHead As Range, DataCunt As Long, i As Long
- Set RngHead = Range("A2")
- DataCunt = Range("A65536").End(xlUp).Row
- Application.ScreenUpdating = False
- For i = RngHead.Row To DataCunt
- If Val(Range("A" & i).Value) <> 0 Then
- Range("A" & i).NumberFormatLocal = "G/³q¥Î®æ¦¡"
- Range("A" & i).Value = Val(Range("A" & i).Value)
- End If
- If Val(Range("F" & i).Value) <> 0 Then
- Range("F" & i).NumberFormatLocal = "G/³q¥Î®æ¦¡"
- Range("F" & i).Value = Val(Range("F" & i).Value)
- End If
- If Val(Range("G" & i).Value) <> 0 Then
- Range("G" & i).NumberFormatLocal = "G/³q¥Î®æ¦¡"
- Range("G" & i).Value = Val(Range("G" & i).Value)
- End If
- If Val(Range("H" & i).Value) <> 0 Then
- Range("H" & i).NumberFormatLocal = "G/³q¥Î®æ¦¡"
- Range("H" & i).Value = Val(Range("G" & i).Value)
- End If
- If Val(Range("I" & i).Value) <> 0 Then
- Range("I" & i).NumberFormatLocal = "G/³q¥Î®æ¦¡"
- Range("I" & i).Value = Val(Range("G" & i).Value)
- End If
- If Val(Range("J" & i).Value) <> 0 Then
- Range("J" & i).NumberFormatLocal = "G/³q¥Î®æ¦¡"
- Range("J" & i).Value = Val(Range("G" & i).Value)
- End If
- Next i
- End Sub
½Æ»s¥N½X
trasfer number.rar (221.16 KB)
|
|
|
|
|
|
|