- ©«¤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
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-12-14 20:36 ½s¿è
¦^´_ 1# sandra_wang - Sub Ex()
- Dim Rng As Range, s1, s2, i
- With ActiveSheet
- Set Rng = .Range("i1", .Range("iv1").End(xlToLeft))
- s1 = Rng.Address(, , xlR1C1)
- For i = 2 To .Range("i" & Rows.Count).End(xlUp).Row
- s2 = Rng.Offset(i - 1).Address(, , xlR1C1)
- .Cells(i, "b").FormulaArray = "=SUM((" & s1 & "<>"""")*(" & s2 & "))"
- Next
- End With
- End Sub
½Æ»s¥N½X |
|