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

[µo°Ý] µ{¦¡½X

[µo°Ý] µ{¦¡½X

[M1] = "=IF(R3C2<>"""",""****""&MID(R3C2,1,20),"""")" ½Ð±Ð¦U¦ì¡A¤p§Ì·Q±N¦¹µ{¦¡½Xªº¡u1¡v§ï¬°=A1ªº­È¡A¡u20¡v=A2ªº­È¡C½Ð½ç±Ð¡I

¦^´_ 1# tinching

¥i¯à­n³o¼Ë¤l¤~¦³¿ìªk°õ¦æ§a¡A¤£ª¾¹D¦³¨S¦³¨ä¥L°ª¤âª¾¹D
sub test
If Cells(3, 2) <> "" Then
[m1] = "***" & Application.Text(Mid(Cells(3, 2), [a1], [a2]), 0)
Else: [m1] = ""
End If
end sub

TOP

¥»©«³Ì«á¥Ñ stillfish00 ©ó 2013-7-25 19:57 ½s¿è

¦^´_ 1# tinching
[M1] = "=IF(R3C2<>"""",""****""&MID(R3C2," & [A1] & "," & [A2] & "),"""")"

P.S:°²³]§Acode¬O©ñ¦b¤u§@ªí¤º¡A¥BA1¡AA2³£½T©w¬°¥¿±`­È¤£¥Î¥t¥~§PÂ_¡C

TOP

¦^´_ 1# tinching
§A·|¥Î IF(R3C2
¨º®M¶i¥h´N¦n¤F
  1. M1] = "=IF(R3C2<>"""",""****""&MID(R3C2,r1c1,r2c1),"""")"
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

ÁÂÁ¸ѵª¡A¥i¥H¥Î¤F¡C

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD