- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# spermbank
¸Õ¸Õ¬Ý- Sub Ex()
- Dim Rng(1 To 2) As Range, Sh As Worksheet
- Sheets("º¶1").Range("C:C").Interior.ColorIndex = xlNone
- Set Rng(1) = Sheets("º¶1").[a2]
- Do While Rng(1) <> "" '°õ¦æ°j°éªº±ø¥ó: Sheets("º¶1").ªºA¤£¬OªÅ®æ
- For Each Sh In Sheets(Array("¤W¥«·l¯q", "¤WÂd·l¯q", "¤W¥«¦X¨Ö·l¯q", "¤WÂd¦X¨Ö·l¯q"))
- Set Rng(2) = Sh.Range("A:A").Find(Rng(1).Value, LOOKAT:=xlWhole) '¤u§@ªí¸s²Õ¤¤AÄæ´M§ä
- If Not Rng(2) Is Nothing Then
- With Rng(1).Offset(, 2)
- .Cells = Rng(2).Cells(1, "S")
- If Sh.Name = "¤W¥«·l¯q" Or Sh.Name = "¤W¥«¦X¨Ö·l¯q" Then
- .Interior.Color = vbMagenta
- Else
- .Interior.Color = vbCyan
- End If
- End With
- End If
- Next
- Set Rng(1) = Rng(1).Offset(1) 'Sheets("º¶1").[a2]....¤U²¾
- Loop
- End Sub
½Æ»s¥N½X |
|