- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 247
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-14
|
¦^´_ 3# maiko - Sub Ex()
- Dim Rng As Range, A As Range
- Set Rng = Range([B1], [B1].End(xlToRight))
- x = Application.WorksheetFunction.Lcm(Rng)
- y = Rng.Count
- For Each A In Range(Rng(1).Offset(1).Resize(, y), Rng(1).Offset(1).Resize(, y).End(xlDown))
- If A Mod x = 0 And Application.CountIf(Range(Rng(1).Offset(1).Resize(, y), Rng(1).Offset(1).Resize(, y).End(xlDown)), A) = y Then
- A.Interior.ColorIndex = 3 + Int(A / x) Mod 54
- Else
- A.Interior.ColorIndex = xlNone
- End If
- Next
- End Sub
½Æ»s¥N½X |
|