ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] sumif¤½¦¡¦bVBA¤¤µLªk°õ¦æ

¥»©«³Ì«á¥Ñ oobird ©ó 2013-5-23 09:00 ½s¿è

¥Îvba¼g¤J¤½¦¡­n³o¼Ë¡G
Sub sumif()
    Dim abc1$, abc2$
    abc1 = Cells.Find("¥N¸¹").Offset(1, 0).Address & ":" & Cells.Find("¥N¸¹").Offset(1, 0).End(xlDown).Address
    abc2 = Cells.Find("­È").Offset(1, 0).Address & ":" & Cells.Find("­È").Offset(1, 0).End(xlDown).Address
    Range("D1") = "=sumif(" & abc1 & ",""BI""," & abc2 & ")"
End Sub

TOP

        ÀR«ä¦Û¦b : ®É®É¦n¤ß´N¬O®É®É¦n¤é¡C
ªð¦^¦Cªí ¤W¤@¥DÃD