{"blog_title":"Infoment\u306e\u30d6\u30ed\u30b0 \uff5eExcel VBA\u596e\u95d8\u8a18\uff5e","provider_name":"Hatena Blog","url":"https://infoment.hatenablog.com/entry/2019/11/25/224849","author_url":"https://blog.hatena.ne.jp/Infoment/","provider_url":"https://hatena.blog","description":"\u306a\u305c\u304b\u3001\u305a\u3063\u3068\u601d\u3044\u8fbc\u3093\u3067\u3044\u305f\u3002WorkSheetFunction.Sum\u3067\u8db3\u3057\u7b97\u3067\u304d\u308b\u306e\u306f\u3001\u4e00\u6b21\u5143\u914d\u5217\u3060\u3051\u3060\u3068\u3002\u3057\u304b\u3057\u5b9f\u969b\u306b\u3001\u305d\u3093\u306a\u3053\u3068\u306f\u306a\u3044\u3002 Sub Test() Dim arr As Variant arr = Selection MsgBox WorksheetFunction.Sum(arr) End Sub \u4e8c\u6b21\u5143\u914d\u5217\u3067\u3042\u3063\u3066\u3082\u3001\u3053\u306e\u3088\u3046\u306b\u3061\u3083\u3093\u3068\u7b54\u3048\u304c\u8fd4\u3063\u3066\u304f\u308b\u3002 \u4eca\u3068\u306a\u3063\u3066\u306f\u3001\u306a\u305c\u305d\u3046\u601d\u3044\u8fbc\u3093\u3067\u3044\u305f\u304b\u3001\u5b9a\u304b\u3067\u306a\u3044\u3002 \u601d\u3044\u8fbc\u307f\u3068\u306f\u3001\u6982\u3057\u3066\u305d\u3046\u3044\u3046\u3082\u306e\u3060\u3002\u3044\u3044\u6a5f\u4f1a\u3060\u3001\u4ed6\u306b\u3082\u8a66\u3057\u3066\u307f\u3088\u3046\u3002 Match\u95a2\u6570 \u8aac\u660e\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u3055\u308c\u3066\u3044\u308b\u3002 \u6307\u5b9a\u3055\u308c\u305f\u7167\u5408\u306e\u7a2e\u985e\u306b\u5f93\u3063\u3066\u691c\u67fb\u7bc4\u56f2\u5185\u3092\u2026","categories":["Excel","VBA","\u4f5c\u3063\u3066\u307f\u305f","\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/I/Infoment/20191125/20191125222030.png","height":"190","title":"\u914d\u5217\u306bCOUNTIF\u3092\u4f7f\u3063\u3066\u307f\u308b","version":"1.0","author_name":"Infoment","type":"rich","published":"2019-11-25 22:48:49","width":"100%","blog_url":"https://infoment.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F11%2F25%2F224849\" title=\"\u914d\u5217\u306bCOUNTIF\u3092\u4f7f\u3063\u3066\u307f\u308b - Infoment\u306e\u30d6\u30ed\u30b0 \uff5eExcel VBA\u596e\u95d8\u8a18\uff5e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}