- ©«¤l
- 4
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-11-20
- ³Ì«áµn¿ý
- 2022-9-27
|
[µo°Ý] VBA_¦p¦ó²¤Æ¦¹µ{¦¡½X¡CÁÂÁÂ!
¤p§Ì¥»ª©º¦¸´£°Ý,½Ð¤j¤j̽ç±Ð
µ{¦¡½X¦p¤U
Sub test()
Sheets("aaa").Select
Range("A1").Select
k = Range(Selection, Selection.End(xlDown)).Count 'pºâAÄæ¦ìµ§¼Æ
For ii = 2 To k
Range("P" & ii) = VBA.Replace(Range("P" & ii), "1", "¤@½Ò")
Range("P" & ii) = VBA.Replace(Range("P" & ii), "2", "¤G½Ò")
Range("P" & ii) = VBA.Replace(Range("P" & ii), "3", "¤T½Ò")
Range("P" & ii) = VBA.Replace(Range("P" & ii), "4", "¥|½Ò")
Range("P" & ii) = VBA.Replace(Range("P" & ii), "5", "¤½Ò")
Range("P" & ii) = VBA.Replace(Range("P" & ii), "6", "A½Ò")
Range("P" & ii) = VBA.Replace(Range("P" & ii), "7", "B½Ò")
Range("P" & ii) = VBA.Replace(Range("P" & ii), "8", "C½Ò")
Next ii '¦pªG PÄ檺¼ÆȲŦX1,«h¨ú¥N¬°"¤@½Ò";2«h¬°"¤G½Ò",¥H¦¹Ãþ±À
End Sub
²¤Æ»Ý¨Dªºì¦]:¸U¤@¤U¦¸¤£¥u8µ§,20µ§VBAµ{¦¡½X¤£´N"º|º|ªø"¤F ><
¥H¤W ·P®¦¨Ã¾Ç²ß Jukom |
|