Àx¦s¦U¨ú±oµJÂI«á¬Y¤@Äæ¦ìÅܦâ
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ coafort
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
D ...
Andy2483 µoªí©ó 2024-2-1 19:54
¯u¬O¤Ó·PÁ¤j¤j
¥i¥H¤F
½Ð°Ý¤j¤j
¦pªG§Únºë½T¤@ÂI
µJÂI¦bAR212¦ÜAR219¤ÎAX212¦ÜAZ219
Åܦ⪺¦a¤è¬OAJ212¦ÜAJ219
½Ð°Ý¸Ó«ç»ò°µ©O¡HÁÂÁ¤j¤j |
|
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ quickfixer
¸Ó¦ì§@ªÌªºµ{¦¡½X¦³2Ó°ÝÃD
µ{¦¡°õ¦æ¤¤,µLªkקïÃC¦â
µ{¦¡¶}ÀY¥[¤Jif, cc ...
quickfixer µoªí©ó 2024-2-2 07:54
ÁÂÁ¤j¤j
°õ¦æ«á¥X²{¿ù»~ |
|
|
|
|
|
|
- ©«¤l
- 154
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 200
- ÂI¦W
- 28
- §@·~¨t²Î
- windwos 7
- ³nÅ骩¥»
- 64bit
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2017-5-29
- ³Ì«áµn¿ý
- 2024-10-22
|
¥»©«³Ì«á¥Ñ quickfixer ©ó 2024-2-2 08:23 ½s¿è
¦^´_ 12# coafort
Option Explicit ¨º¦æ§R±¼©Î¬O¥[¤W dim cc as string,nr as integer |
|
|
|
|
|
|
- ©«¤l
- 1446
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 1470
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Excel 2010 & 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2020-7-15
- ³Ì«áµn¿ý
- 2024-10-21
|
¦^´_ 11# coafort
½Ð«e½ú¸Õ¸Õ¬Ý¥H¤U®ÄªG¬O§_¾A¦X
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim a As Range, b As Range, c As Range
With Target
Set b = [AJ212:AJ219]
Set c = [AR212:AR219,AX212:AZ219]
For Each a In b
If a.Interior.ColorIndex = 6 Then a.Interior.ColorIndex = xlNone
Next
Set c = Intersect(.Cells, c)
If Not c Is Nothing Then Intersect(c.EntireRow, b).Interior.ColorIndex = 6
End With
End Sub |
|
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ coafort
Option Explicit ¨º¦æ§R±¼©Î¬O¥[¤W dim cc as string,nr as integer
quickfixer µoªí©ó 2024-2-2 08:16
Åܦ¨ÂI¿ïªºÅܦâ@@
¤£¬O§Únªº
¨ÌµM·PÁ¤j¤j |
|
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ coafort
½Ð«e½ú¸Õ¸Õ¬Ý¥H¤U®ÄªG¬O§_¾A¦X
Option Explicit
Private Sub Worksheet_SelectionChange ...
Andy2483 µoªí©ó 2024-2-2 09:05
ǢǢ
·PÁ¤j¤j
¥i¥H¤FC
ÆgÆgÆg |
|
|
|
|
|
|
- ©«¤l
- 1446
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 1470
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Excel 2010 & 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2020-7-15
- ³Ì«áµn¿ý
- 2024-10-21
|
¥»©«³Ì«á¥Ñ Andy2483 ©ó 2024-2-2 11:22 ½s¿è
¦^´_ 16# coafort
ÁÂÁ½׾Â,ÁÂÁ«e½úÅý«á¾Ç¾Ç¨ì«Ü¦hª¾ÃÑ
¥H¤U¬O«á¾Ç°w¹ï[AJ212:AJ219]¦pªGì¨Ó¦³©³¦â,¦ý¬O¿ï¨ú[AR212:AR219,AX212:AZ219]¤§«áÅܶÀ¦â,²¾¶}¤§«á¯à«ì´_ì¨Ó©³¦âªº¤è®×
ì¨Ó©³¦â:
¿ï¨ú«áÅܶÀ¦â:
²¾¶}«á«ì´_ì¦â:
Option Explicit
Dim Brr
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim b As Range, c As Range, i&
With Target
Set b = [AJ212:AJ219]: Set c = [AR212:AR219,AX212:AZ219]
If Not IsArray(Brr) Then Brr = b: For i = 1 To UBound(Brr): Brr(i, 1) = b(i).Interior.ColorIndex: Next
Set c = Intersect(.Cells, c)
If Not c Is Nothing Then
Intersect(c.EntireRow, b).Interior.ColorIndex = 6
Else
For i = 1 To UBound(Brr)
If b(i).Interior.ColorIndex = 6 Then b(i).Interior.ColorIndex = Brr(i, 1)
Next
Brr = Empty
End If
End With
End Sub |
|
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ coafort
ÁÂÁ½׾Â,ÁÂÁ«e½úÅý«á¾Ç¾Ç¨ì«Ü¦hª¾ÃÑ
¥H¤U¬O«á¾Ç°w¹ï[AJ212:AJ219]¦pªGì¨Ó¦³©³¦â,¦ý¬O¿ï ...
Andy2483 µoªí©ó 2024-2-2 11:20
³ø§i¤j¤j
¥X²{¿ù»~
²Ó²Ó¤j¤j |
|
|
|
|
|
|
- ©«¤l
- 1446
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 1470
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Excel 2010 & 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2020-7-15
- ³Ì«áµn¿ý
- 2024-10-21
|
¦^´_ 18# coafort
¬O¦â®t?ÁÙ¬O°»¿ù?
¦AÂǦ¹©«¾Ç²ßRGB,¾Ç²ß¤è®×¦p¤U:
Option Explicit
Dim Brr
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim b As Range, c As Range, i&
With Target
Set b = [AJ212:AJ219]: Set c = [AR212:AR219,AX212:AZ219]
If Not IsArray(Brr) Then
ReDim Brr(1 To b.Count, 1 To 3)
For i = 1 To UBound(Brr)
Brr(i, 1) = b(i).Interior.Color Mod 256
Brr(i, 2) = b(i).Interior.Color \ 256 Mod 256
Brr(i, 3) = b(i).Interior.Color \ 256 ^ 2 Mod 256
Next
End If
Set c = Intersect(.Cells, c)
If Not c Is Nothing Then
Intersect(c.EntireRow, b).Interior.Color = RGB(255, 255, 0) '¶À¦â
Else
For i = 1 To UBound(Brr)
If b(i).Interior.Color = RGB(255, 255, 0) Then b(i).Interior.Color = RGB(Brr(i, 1), Brr(i, 2), Brr(i, 3))
Next
Brr = Empty
End If
End With
End Sub |
|
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¥»©«³Ì«á¥Ñ coafort ©ó 2024-2-2 14:02 ½s¿è
¦^´_ coafort
¬O¦â®t?ÁÙ¬O°»¿ù?
¦AÂǦ¹©«¾Ç²ßRGB,¾Ç²ß¤è®×¦p¤U:
Option Explicit
Dim Brr
Priv ...
Andy2483 µoªí©ó 2024-2-2 13:37
³ø§i¤j¤j
¬O°»¿ù
ÁÂÁ¤j¤j |
|
|
|
|
|
|