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

[µo°Ý] abc-8888 ¦Û°ÊÂà¤Æ ABC-888...

[µo°Ý] abc-8888 ¦Û°ÊÂà¤Æ ABC-888...

¦P¤@Àx¦s®æ¿é¤J¨®µP abc-8888 §Æ±æ¯à¦Û°ÊÂà¤Æ ABC-8888 ¤§®æ¦¡
¨Ò¦p¦b E3Àx¦s®æ¿é¤Jabc-8888 §Æ±æ¯à¦Û°ÊÂà¤Æ ABC-8888
             E4Àx¦s®æ¿é¤J2050-sa   §Æ±æ¯à¦Û°ÊÂà¤Æ 2050-SA
§Ú¥u·Q¦b E3:E1002 Àx¦s®æ¤º¦Û°ÊÂà´«¤j¼g­^¤å...
±æ½Ð¦U¦ì°ª¤â¸Ñ´b

¦^´_ 12# Andy2483

·PÁ Andy2483 ¥t¤@¸Ô²Ó¸Ñ»¡
¯à¦n¦n¬ãŪ...^^

TOP

¦^´_ 8# ­ã´£³¡ªL


    ÁÂÁ«e½ú
«á¾ÇÂǦ¹©«¾Ç²ß¨ì­«­n§Þ¥©,¾Ç²ß¤ß±oµù¸Ñ¦p¤U,½Ð«e½ú¦A«ü¾É

Option Explicit
Dim CK%
'¡ô«Å§iÅܼÆ:CK¬Oµu¾ã¼ÆÅܼÆ,©ñ¦b³Ì¤WºÝ¬O¬°¤FÅý¦¹¤u§@ªí¼Ò²Õ³£¯à¥Î

Private Sub Worksheet_Change(ByVal Target As Range)
'¡ô·í¨Ï¥ÎªÌ©Î¥~³¡³sµ²Åܧó¤u§@ªí¤¤ªºÀx¦s®æ®É·|µo¥Í¦¹¨Æ¥ó
Dim xR As Range
'¡ô«Å§iÅܼÆ:xR¬OÀx¦s®æÅܼÆ
With Target
'¡ô¥H¤U¬OÃö©óIJµoªºµ{§Ç
     If .Columns.Count > 1 Or .Column <> 5 Then Exit Sub
     '¡ô¦pªGIJµoÄæ¼Æ¤j©ó1 ©ÎIJµoÄæ¦ì¤£¬O²Ä5Äæ!´Nµ²§ôµ{¦¡°õ¦æ
     If CK > 0 Then Exit Sub
     '¡ô¦pªGCKÅܼƤj©ó 0!´Nµ²§ôµ{¦¡°õ¦æ
     On Error GoTo 999
     '¡ô¦pªG¥H¤Uµ{¦¡¹J¨ì¿ù»~´N¸õ¨ì¼Ð¥Ü999¦ì¸mÄ~Äò°õ¦æ
     CK = 1
     '¡ô¥OCKÅܼƬO1,Åý«á¤èFor Each°j°é¤£·|¦bIJµo
     For Each xR In .Cells
     '¡ô³]³v¶µ°j°é!¥OxRÅܼƬOIJµo®æ§C¨ä¤¤¤@®æ
         If xR.Row < 3 Or xR.Value = "" Then GoTo 101
         '¡ô¦pªGxRÅܼƩҦbªº¦C¸¹¤p©ó3 ©Î¨ä­È¬OªÅªº,
         '´N¸õ¨ì¼Ð¥Ü101¦ì¸mÄ~Äò°õ¦æ

         xR.Value = UCase(xR.Value)
         '¡ô¥OxRÅܼÆ(Àx¦s®æ)­È¬O­^¤åÂର¤j¼gªº·s¦r¦ê
101: Next
End With
999: CK = 0
'¡ô¥OCKÅܼÆÂk¹s
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 10# ­ã´£³¡ªL
·PÁª©¥D«ü¾É...
¿n·¥¶i¨ú¾Ç²ß¤¤   ^^

TOP

¦^´_ 9# cypd


¤£¬O¤@¨¥¨â»y¥i»¡²M,
¥ý³v¦æ¥h²z¸Ñ§a!
­Y³s.row, .value, .column, .columns³£¤£À´, ¸ÑÄÀ¤F¤]¨S¥Î~~

¸ÕµÛ±N¨C¦æ¤F¸Ñ¤@¤U, ¨Ã°µµù¸Ñ

CK ¥Î¨Ó´À¥N Application.EnableEvents
ÁקK"¤ÏÂÐIJ°Ê", ³y¦¨·í¾÷~~

ON ERROR GOTO 999
­Yµ{¦¡°õ¦æ¿ù»~¤¤Â_, ·|ª½±µ¥h°õ¦æ 999:CK=0
§_«h¤U¦¸´N¤£¯à²£¥ÍCHANGE¨Æ¥ó~~

TOP

¦^´_ 8# ­ã´£³¡ªL
¦n¯«©_ªº»yªk...·P®¦
¤£©ú¥ÕÀx¦s®æ¥Î
1.¿é¤Jªº¤è¦¡
¤Î¥Î 2.½Æ»s¶K¤W¤§¤è¦¡
¨âªÌ¶¡¤§­^¤å¤p¼gÂà´«¤j¼g¡A®t²§¤j¤£¦P?
Àµ°Ýµ{¦¡½X¤¤¤ºªº¼Æ¦r¦U¥Nªí¬Æ»ò·N«ä?
If xR.Row < 3 Or xR.Value = "" Then GoTo 101
         xR.Value = UCase(xR.Value)
101: Next
End With
999: CK = 0

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2020-6-9 11:11 ½s¿è

¦^´_ 7# cypd

¥H¤UÂŦâ¦r³£­ncopy¨ì


Dim CK%

Private Sub Worksheet_Change(ByVal Target As Range)
Dim xR As Range
With Target
     If .Columns.Count > 1 Or .Column <> 5 Then Exit Sub
     If CK > 0 Then Exit Sub
     On Error GoTo 999
     CK = 1
     For Each xR In .Cells
         If xR.Row < 3 Or xR.Value = "" Then GoTo 101
         xR.Value = UCase(xR.Value)
101: Next
End With
999: CK = 0
End Sub

TOP

¦^´_ 4# ikboy
·PÁÂ¥ý¶i«ü¾É
°w¹ï¤W­z¤½¦¡µ{¦¡½X...
¥H¹Ï¬°¨Ò ­Y E3 ¿é¤Jabc-8558

¨Ì¤½¦¡µ{¦¡½X ·|¶i¦æ­^¤å¤p¼gÂà´«¤j¼g
­Y¬O·Q­n¥Î½Æ»s¨ä¥L¤u§@ªí¤§¨®µP¸¹½X(k3:k20)
¦Ü E3:E20 Àx¦s®æ...
¸Óµ{¦¡½XµLªk¤@¦¸¦Û°ÊÂà´«¦Ü¤j¼g­^¤å
»Ý¸Ó¦p¦ó­«·s½s¼gµ{¦¡½X?

0609.jpg (82.05 KB)

0609.jpg

0609.rar (9.67 KB)

TOP

·PÁÂ¥ý¶iªº«ü¾É

TOP

¥H«e°Ý¹L¤@¼Ò¤@¼Ëªº»Ý¨D, ¥u¬O¨­¥÷ÃÒ¸¹´«¦¨¨®¸¹,
¤S­n°Ý¤@¦¸, ³o¤S«ç»ò¾Ç±o¨ìªF¦è©O???

TOP

        ÀR«ä¦Û¦b : ¦³¤ß´N¦³ºÖ¡A¦³Ä@´N¦³¤O¡A¦Û³yºÖ¥Ð¡A¦Û±oºÖ½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD