- ©«¤l
- 705
- ¥DÃD
- 277
- ºëµØ
- 0
- ¿n¤À
- 1008
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-12-24
|
¦^´_ 22# samwang
samwang«e½ú±z¦n¡A·Q½Ð±Ð±z
If Intersect(xA, Target) Is Nothing Then Exit Sub
³o¬qªº·N«ä¬O¡H
§Ú³Ìªñ¼g¨ì¨âӰ϶ô¡A- If Target.Column = 3 Then
- Call ÃC¦â
- Set xC = [C1]
- xC.Interior.Pattern = 0
- If Intersect(xC, Target) Is Nothing Then Exit Sub
- For Each xR In xC.Rows
- If Not Intersect(xR, Target) Is Nothing Then
- If Cells(xR.Row, 3) <> "" Then
- Cells(xR.Row, 3).Interior.Color = Col
- Else
- Cells(xR.Row, 3).Interior.Color = Col
- End If
- End If
- Next
- Set xAH = [A4:H1000]
- xAH.Interior.Pattern = 0
- If Intersect(xAH, Target) Is Nothing Then Exit Sub
- For Each xR In xAH.Rows
- If Not Intersect(xR, Target) Is Nothing Then
- If Cells(xR.Row, 3) <> "" Then
- [F2] = ActiveCell
- [G2] = ActiveCell
- xR.Interior.Color = Col
- Else
- [F2] = ActiveCell
- [G2] = ActiveCell
- Cells(xR.Row, 3).Interior.Color = Col
- End If
- End If
- Next
½Æ»s¥N½X ¦b°£¿ùªº®ÉÔ±NIf Intersect(xA, Target) Is Nothing Then Exit Sub®³±¼§Y¥i¨Ï¥Î¡A
¦ý¬O·Qª¾¹D¬°¤°»ò¡H¸U¤À·PÁ¡C |
|