- ©«¤l
- 913
- ¥DÃD
- 150
- ºëµØ
- 0
- ¿n¤À
- 1089
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-8-28
- ³Ì«áµn¿ý
- 2023-7-19
|
Dear,
Range("J4:Y" & xRow)³£¬O¦³µÛ¦âªº,§Ú·QÅýRange>0«h¨ú®øµÛ¦â,¦ý¥H¤Uµ{¦¡·|§âRange¤ºµL½×¬O§_>0¥þ¨ú®øµÛ¦â,
¥i§_À°¦£¬Ý¤U»yªk¤W¬O§_¦³»~?
¨ú®øµÛ¦â.rar (25.83 KB)
- Sub ¨ú®øµÛ¦â()
- Dim Sh As Worksheet, c As Range
- Set Sh = Workbooks("¨ú®øµÛ¦â.xlsx").Sheets("2" & "")
- Sh.Activate
- xRow = Cells(Cells.Rows.Count, "B").End(xlUp).Row '®Æ¸¹
- Set xRng = Range("J4:Y" & xRow)
- With Sh
- Sh.Activate
- With xRng.Interior
- For Each c In xRng
- If c > 0 Then
- .Pattern = xlNone '¨ú®øµÛ¦â
- .TintAndShade = 0
- .PatternTintAndShade = 0
- End If
- Next
- End With
- End With
- End Sub
½Æ»s¥N½X |
|