- ©«¤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# marklos
¸Õ¸Õ¬Ý- Sub Ex()
- Dim Rng As Range, xMax As Double, xMin As Double, m As Variant
- With Sheets("VBNB")
- m = .Range("i" & Rows.Count).End(xlUp).Row
- Set Rng = .Range("i14:" & "i" & m) '¸ê®Æ½d³ò
- xMax = Application.Max(Rng)
- m = Application.Match(xMax, Rng, 0)
- Set m = Rng.Cells(m).EntireRow
- .Range("g10") = m.Range("g1")
- .Range("h10") = m.Range("h1")
- .Range("i10") = xMax
- xMin = Application.Min(Rng)
- m = Application.Match(xMin, Rng, 0)
- Set m = Rng.Cells(m).EntireRow
- .Range("g12") = m.Range("g1")
- .Range("h12") = m.Range("h1")
- .Range("i12") = xMin
- End With
- End Sub
½Æ»s¥N½X |
|