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

ÁÂÁ¸ѵª¡A¥i¥H¥Î¤F¡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

¥»©«³Ì«á¥Ñ 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

¥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

        ÀR«ä¦Û¦b : ¯à¥I¥X·R¤ß´N¬OºÖ¡A¯à®ø°£·Ð´o´N¬O¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD