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

[µo°Ý] ½Ð±Ð¨ç¼ÆcountA¦p¦ó§ï¥ÎVBA¨Ó­pºâ¦h¤u§@ªí(·PÁÂ)

¦^´_ 1# koo
¤p§Ì¤£¤~,À³¸Ó¦³§ó§Öªº¤èªk,³oÃä´£¨Ñ±z§Ú·|ªº¤è¦¡
¦³¨ä¥L¤j¤j¤]¥i´£¥X,¤p§Ì¥[¥H¾Ç²ß
  1. Sub test()

  2.     For i = 2 To 6
  3.         Num = WorksheetFunction.CountA(Sheets(i).Range("A1"))
  4.         Total = Num + Total
  5.     Next
  6.     MsgBox Total
  7.    
  8. End Sub
½Æ»s¥N½X
PKKO

TOP

        ÀR«ä¦Û¦b : ¬O«D·í±Ð¨|¡AÆg¬ü§@ĵ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD