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

[µo°Ý] ¤U©Ô¿ï³æ¼Ò½k·j´M«á¬Û¦P¦WºÙ¤£¦P­È¤§§x´b...

[µo°Ý] ¤U©Ô¿ï³æ¼Ò½k·j´M«á¬Û¦P¦WºÙ¤£¦P­È¤§§x´b...

¦³¤@®M¦Lªí³æ
¤U©Ô¿ï³æ¼Ò½k·j´M«á¬Û¦P¦WºÙ¤£¦P­È¤§§x´b...
©Ò»Ý«È¤á°ò¥»¸ê®Æ¤¤¤á¦W¦³¬Û¦P¤§«È¤á¾Ö¦³¤£¦P¤§±b¸¹
¦p¤U¹Ï©Ò¥Ü:



¦b®M¦Lªí³æ¤¤¡A¥ý¦b A4 ½s¿è°Ï¿é¤J©Ò»Ý¤á¦W ¥ÃÂ× ¤§¬ÛÃö¦r·j´M...


¸g¼Ò½k·j´M¥X²{ 4 µ§²Å¦X¥ÃÂ׬ÛÃö¦r¤§¤á¦W¡A¦]©Ò»Ý¥¿½T¤á¦W¬O ¥ÃÂ×°Ó·~»È¦æªÑ¥÷¦³­­¤½¥q
¦]«È¤á°ò¥»¸ê®Æ¤¤¤á¦W ¥ÃÂ×°Ó·~»È¦æªÑ¥÷¦³­­¤½¥q ¾Ö¦³ 3 µ§¤£¦P±b¸¹¤§»È¦æ±b¸¹
¸Ó¤U©Ô¿ï³æ¸Ó¦p¦ó³]­p
Åý¬Û¦P¤§¤á¦W¿ï¾Ü®É(¯à¦b¤U©Ôªí³æ¿ï¾Ü®É¥X²{´£¥Ü±b¸¹¤§Åã¥Ü¶Ü?...¤ñ¸û®e©ö¿ï¾Ü·Q®M¦L¤§¤á¦W¤Î±b¸¹)
¤~¯àÂI¿ï¥¿½T¸Óµ§¤§¹ïÀ³±b¸¹
®M¦L®É¥X²{ ¥ÃÂ×°Ó·~»È¦æªÑ¥÷¦³­­¤½¥q ¬O¥²­n¤å¦r(¤á¦W)   



(°ÝÃD­«ÂI¦b©ó¬Û¦P¤á¦W¦hµ§¸ê®Æ¡A¥u¯à¥X²{¹ïÀ³ªº²Ä¤@µ§¸ê®Æ±b¸¹...¸Ó¦p¦ó­×¥¿¤½¦¡¤~¯àÅý©Ò¿ï¤§¤á¦W¹ïÀ³©Ò«Ø¤§±b¸¹¡B»È¦æ¡B¤À¦æ¤Îª÷¿Ä¥N½X)

1110506.rar (172.6 KB)

¦^´_ 21# samwang

«D±`·PÁ±z...samwang

°w¹ï¦h¦¸©Ò­z°ÝÃD§¡¯à¸Ô²Ó­@¤ß¸Ñ´b  ^^

Àò¯q¨}¦h...¤u±ýµ½¨ä¨Æ¡A¥²¥ý§Q¨ä¾¹(¤u§@¤W±a¨Ó«D±`«K§Q¬Ù®É©ö¥Î)¤ß¦s·P®¦

TOP

¦^´_ 20# cypd

VBA¤½¦¡§@°Ê«á
­Y C Ä榳·s¼Æ¾Ú¿é¤J®É·|³y¦¨ C1 ©³¦â¤£¨£
­Y D Ä榳·s¼Æ¾Ú¿é¤J®É·|³y¦¨ D1 ©³¦â¤£¨£
>> §ï¥Ñ²Ä2¦C¶}©l¦p¤U
With Sheets("«È¤á°ò¥»¸ê®Æ")
    .Unprotect Password:="1234"  '¸Ñ«OÅ@¡A±K½X¦Û¦æ­×§ï
     Arr = .Range(.Cells(1, C), .Cells(Rows.Count, C).End(3))
     .Range(.Cells(2, C), .Cells(Rows.Count, C)).Font.ColorIndex = 0
     .Range(.Cells(2, C), .Cells(Rows.Count, C)).Interior.ColorIndex = 0


­ì«OÅ@¤u§@ªí¤º¤§³]©w¥¢®Ä
(¦Û¦æ³]©w¦C®æ¦¡¤Î¨Ï¥Î¦Û°Ê¿z¿ïµLªk¨Ï¥Î...«ì´_¹w³]­È)
>> ¨Ì±z­ì¨Óªº®æ¦¡­×§ï¦p¤U¡A½Ð¦A¸Õ¬Ý¬Ý¡AÁÂÁÂ
.Protect Password:="1234", DrawingObjects:=True, Contents:=True, Scenarios:=True _
        , AllowFormattingRows:=True, AllowFiltering:=True
'«OÅ@¡A±K½X¦Û¦æ­×§ï

TOP

¥»©«³Ì«á¥Ñ cypd ©ó 2022-7-26 15:16 ½s¿è

¦^´_ 19# samwang

·Ð°Ý  samwang...
Ãö©ó¤W­z VBA §@°Ê¤§«á©Ò²£¥Í¬ÛÃöºÃ°Ý ?

VBA¤½¦¡§@°Ê«á
­Y C Ä榳·s¼Æ¾Ú¿é¤J®É·|³y¦¨ C1 ©³¦â¤£¨£
­Y D Ä榳·s¼Æ¾Ú¿é¤J®É·|³y¦¨ D1 ©³¦â¤£¨£

­ì«OÅ@¤u§@ªí¤º¤§³]©w¥¢®Ä
(¦Û¦æ³]©w¦C®æ¦¡¤Î¨Ï¥Î¦Û°Ê¿z¿ïµLªk¨Ï¥Î...«ì´_¹w³]­È)




0726.rar (147.23 KB)

TOP

¦^´_ 18# cypd

¥t¥~
.Unprotect Password:="1234"  '«OÅ@¡A±K½X¦Û¦æ­×§ï(¦h¤F Un µLªk¶i¦æ«OÅ@)
¤w§R°£ Un¡K´ú¸Õ OK

>> ¤£¦n·N«ä¡A¨S¦³§ó·s¨ì¡A¦p±z­×§ïUN­n§R°£¡AÁÂÁÂ

TOP

¦^´_ 17# samwang

¤Ó¯«¤F·PÁ±z¤F...samwang
©Ò¹J¤§°ÝÃD²~ÀV¤j­P¤wÀò±o¸Ñ¨M¡K^^·P®¦
¥t¥~
.Unprotect Password:="1234"  '«OÅ@¡A±K½X¦Û¦æ­×§ï(¦h¤F Un µLªk¶i¦æ«OÅ@)
¤w§R°£ Un¡K´ú¸Õ OK

TOP

¥»©«³Ì«á¥Ñ samwang ©ó 2022-7-25 07:47 ½s¿è
¦^´_  samwang

¤Ó·PÁ±z¤F...samwang

C ©Î D Äæ¥X²{¬Û¦P¼Æ¾Ú®É...§R°£¤U¦C¼Æ¾Ú¤§«áÀx¦s®æ·|¦³¶ñº¡¤§ ...
cypd µoªí©ó 2022-7-24 20:23


½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Arr, xD, C%, T$, m&, i&
If Target.Column = 3 Then C = 3
If Target.Column = 4 Then C = 4
If C = 0 Then Exit Sub
Set xD = CreateObject("Scripting.Dictionary")
With Sheets("«È¤á°ò¥»¸ê®Æ")
    .Unprotect Password:="1234"  '¸Ñ«OÅ@¡A±K½X¦Û¦æ­×§ï
     Arr = .Range(.Cells(1, C), .Cells(Rows.Count, C).End(3))
     .Range(.Cells(1, C), .Cells(Rows.Count, C)).Font.ColorIndex = 0
     .Range(.Cells(1, C), .Cells(Rows.Count, C)).Interior.ColorIndex = 0
     For i = 1 To UBound(Arr)
         T = Arr(i, 1)
         If xD.Exists(T) Then
             m = xD(T)
             .Cells(m, C).Font.ColorIndex = 3
             .Cells(m, C).Interior.ColorIndex = 36
             .Cells(i, C).Font.ColorIndex = 3
             .Cells(i, C).Interior.ColorIndex = 36
         End If
         xD(T) = i
     Next
    .Unprotect Password:="1234"  '«OÅ@¡A±K½X¦Û¦æ­×§ï
End With
End Sub

TOP

¦^´_ 15# samwang

¤Ó·PÁ±z¤F...samwang

C ©Î D Äæ¥X²{¬Û¦P¼Æ¾Ú®É...§R°£¤U¦C¼Æ¾Ú¤§«áÀx¦s®æ·|¦³¶ñº¡¤§¦â±m¦s¦b(¤w¸Ñ¨M©Ò­z°ÝÃD  ^^)



¸Ó¤u§@ªí¦]¦³¬ÛÃö¤§¤½¦¡¹Bºâ¡A¬°½T«O»~§R³y¦¨¸ê®Æ¿ù»~...³]¦³  [«OÅ@¤u§@ªí]
¦]«OÅ@¤u§@ªí¤§Ãö«Y³y¦¨...°õ¦æ¶¥¬q¿ù»~ "1004"
¦A«×³Â·Ð±z­×¥¿...·P®¦  ^^

TOP

¦^´_  samwang
¤Ó·PÁ±z¤F...samwang

³t«×¤è­±°ÝÃD¤w OK
¸g´ú¸Õ¥t¦³°ÝÃD¥X²{¦p¤U
­Y¬O C ©Î D Äæ¥X²{ ...
cypd µoªí©ó 2022-7-24 11:33


­×§ï¦p¤U²¾°£.End(3)¡A½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
With Sheets("«È¤á°ò¥»¸ê®Æ")
    Arr = .Range(.Cells(1, C), .Cells(Rows.Count, C).End(3))
    .Range(.Cells(1, C), .Cells(Rows.Count, C)).Font.ColorIndex = 0
    .Range(.Cells(1, C), .Cells(Rows.Count, C)).Interior.ColorIndex = 0

TOP

¦^´_ 13# samwang
¤Ó·PÁ±z¤F...samwang

³t«×¤è­±°ÝÃD¤w OK
¸g´ú¸Õ¥t¦³°ÝÃD¥X²{¦p¤U
­Y¬O C ©Î D Äæ¥X²{¬Û¦P¼Æ¾Ú®É...§R°£¤U¦C¼Æ¾Ú¤§«áÀx¦s®æ·|¦³¶ñº¡¤§¦â±m¦s¦b ???



TOP

        ÀR«ä¦Û¦b : ¦³¦h¤Ö¤O¶q´N°µ¦h¤Ö¨Æ¡A¤£­n¤ß¦sµ¥«Ý¡Aµ¥«Ý¤~·|¸¨ªÅ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD