{"id":634,"date":"2019-05-10T00:43:28","date_gmt":"2019-05-09T15:43:28","guid":{"rendered":"https:\/\/extan.jp\/?p=634"},"modified":"2022-03-16T22:09:02","modified_gmt":"2022-03-16T13:09:02","slug":"%e3%82%a8%e3%82%af%e3%82%bb%e3%83%abvba%e3%81%aefunction%e3%81%a7%e3%82%aa%e3%83%aa%e3%82%b8%e3%83%8a%e3%83%ab%e9%96%a2%e6%95%b0%e3%82%92%e4%bd%9c%e3%82%8d%e3%81%86","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=634","title":{"rendered":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046"},"content":{"rendered":"<p>Excel\u306b\u306f\u6a19\u6e96\u306e\u95a2\u6570\u4ee5\u5916\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u95a2\u6570\u3092\u81ea\u5206\u306e\u8a08\u7b97\u5f0f\u3092\u52a0\u3048\u3066\u51e6\u7406\u7d50\u679c\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u306e\u3053\u3068\u3092Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u8a00\u3044\u3001\u4f7f\u3044\u3053\u306a\u305b\u308b\u3068Excel\u306f\u4ee5\u524d\u3088\u308a\u3050\u3063\u3068\u4fbf\u5229\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3082\u304f\u3058<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/extan.jp\/?p=634\/#Function%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E3%81%A8%E3%81%AF%E4%BD%95%E3%81%8B\" >Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u306f\u4f55\u304b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extan.jp\/?p=634\/#Function%E3%81%A8Sub%E3%81%AE%E9%81%95%E3%81%84%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\" >Function\u3068Sub\u306e\u9055\u3044\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=634\/#%E3%81%A9%E3%82%93%E3%81%AA%E3%82%B1%E3%83%BC%E3%82%B9%E3%81%A7%E4%BD%BF%E3%81%86%E3%81%8B\" >\u3069\u3093\u306a\u30b1\u30fc\u30b9\u3067\u4f7f\u3046\u304b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=634\/#%E5%AE%9F%E9%9A%9B%E3%81%AB%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%81%A7%E3%81%BF%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%82%87%E3%81%86\" >\u5b9f\u969b\u306b\u30b5\u30f3\u30d7\u30eb\u3067\u307f\u3066\u307f\u307e\u3057\u3087\u3046<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Function%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E3%81%A8%E3%81%AF%E4%BD%95%E3%81%8B\"><\/span>Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u306f\u4f55\u304b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u306fVBA\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u95a2\u6570\u3092\u81ea\u5206\u306e\u8a08\u7b97\u5f0f\u3092\u52a0\u3048\u3066\u51e6\u7406\u5185\u5bb9\u3092\u5b9a\u7fa9\u3067\u304d\u308b\u95a2\u6570\u3068\u306a\u308a\u307e\u3059\u3002\u95a2\u6570\u306f\u51e6\u7406\u306e\u96c6\u5408\u4f53\u3060\u3068\u601d\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u306a\u304a\u30d7\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u3066\u3044\u308b\u6a19\u6e96\u95a2\u6570\u306f\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u3068\u547c\u3070\u308cFunction\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u540c\u3058\u3088\u3046\u306b\u547c\u3073\u51fa\u3057\u3066\u5229\u7528\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\nFunction\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3067\u51e6\u7406\u3057\u305f\u7d50\u679c\u306f\u623b\u308a\u5024\u3068\u3057\u3066\u5909\u6570\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Function%E3%81%A8Sub%E3%81%AE%E9%81%95%E3%81%84%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\"><\/span>Function\u3068Sub\u306e\u9055\u3044\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Sub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306fFunction\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u540c\u3058\u304f\u95a2\u6570\u306b\u306a\u308a\u307e\u3059\u3002\u9055\u3044\u306f\u5024\u3092\u8fd4\u3055\u306a\u3044\u3001Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306f\u5024\u3092\u8fd4\u3059\u3068\u3044\u3046\u3068\u3053\u308d\u304c\u3042\u308a\u3001\u305d\u308c\u305e\u308c\u4f7f\u3044\u5206\u3051\u3092\u884c\u3044\u307e\u3059\u3002 \u30e1\u30a4\u30f3\u51e6\u7406\u3092Sub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u5185\u3067\u5b9a\u7fa9\u3057\u3001\u5171\u901a\u306e\u51e6\u7406\u3068\u306a\u308b\u3068\u3053\u308d\u3092Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3067\u5916\u51fa\u3057\u3057\u5171\u901a\u90e8\u54c1\u3068\u3057\u3066\u30e1\u30a4\u30f3\u51e6\u7406\u306e\u4e2d\u3067Call\u95a2\u6570\u3067\u547c\u3073\u51fa\u3057\u3001\u51e6\u7406\u7d50\u679c\u3092\u5f97\u308b\u3068\u3044\u3046\u4f7f\u3044\u65b9\u304c\u4e3b\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u306a\u304a\u3001Sub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306f\u30de\u30af\u30ed\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u3001\u30de\u30af\u30ed\u304b\u3089\u5b9f\u884c\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%A9%E3%82%93%E3%81%AA%E3%82%B1%E3%83%BC%E3%82%B9%E3%81%A7%E4%BD%BF%E3%81%86%E3%81%8B\"><\/span>\u3069\u3093\u306a\u30b1\u30fc\u30b9\u3067\u4f7f\u3046\u304b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4eca\u56de\u306f\u30b5\u30af\u30c3\u3068\u30ab\u30f3\u30bf\u30f3\u306b\u5229\u7528\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3001Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092Excel\u306e\u30bb\u30eb\u304b\u3089\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u3092\u53d6\u308a\u4e0a\u3052\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u4f8b\u3048\u3070SUM\u95a2\u6570\u306f\u3088\u304f\u4f7f\u3046\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u6a19\u6e96\u306e\u8a08\u7b97\u4ee5\u5916\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u8a08\u7b97\u5f0f\u3092\u52a0\u3048\u5229\u7528\u3059\u308b\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%AE%9F%E9%9A%9B%E3%81%AB%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%81%A7%E3%81%BF%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%82%87%E3%81%86\"><\/span>\u5b9f\u969b\u306b\u30b5\u30f3\u30d7\u30eb\u3067\u307f\u3066\u307f\u307e\u3057\u3087\u3046<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u30bb\u30eb\u306e\u5024\u306b50\u3092\u52a0\u7b97\u3057\u305f\u7d50\u679c\u304c\u8fd4\u308b\u95a2\u6570\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Function ADDNUM(rCell As Range) As String\n  ADDNUM = rCell.Value + 50\nEnd Function\n<\/code><\/pre>\n<p>\u8a2d\u5b9a\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n\u2460\u9069\u5f53\u306a\u6570\u5024\u3092A\u5217\u306b\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio1.png\" alt=\"\" \/><\/p>\n<p>\u2461[Alt] + [F11]\u3092\u62bc\u4e0b\u3057\u3066VBA\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p>\u2462\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u5de6\u30da\u30a4\u30f3\u306eVBAProject\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u633f\u5165\u300d\u3001\u300c\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio2.png\" alt=\"\" \/>\n<p>\u2463\u53f3\u30da\u30a4\u30f3\u306e\u30a6\u30a4\u30f3\u30c9\u30a6\u306b\u4e0a\u8a18\u306e\u95a2\u6570\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio3.png\" alt=\"\" \/>\n<p>\u2464Excel\u306e\u30b7\u30fc\u30c8\u306b\u623b\u308a\u3001\u8ffd\u52a0\u3057\u305f\u95a2\u6570\u300c=ADDNUM(A1)\u300d\u3092B2\u306e\u30bb\u30eb\u3078\u633f\u5165\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305f\u5165\u529b\u3057\u305f\u6570\u5024\u306e\u7bc4\u56f2\u307e\u3067\u30c9\u30e9\u30c3\u30b0\u3057\u95a2\u6570\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio4.png\" alt=\"\" \/><br \/>\n\u306f\u3044\uff01\u3067\u304d\u307e\u3057\u305f\u306d\uff01<br \/>\nA\u5217\u306e\u6570\u5024\u306b50\u304c\u52a0\u7b97\u3055\u308c\u305f\u7d50\u679c\u304c\u96a3\u306eB\u5217\u306b\u8868\u793a\u3055\u308c\u305f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\uff01<br \/>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio5.png\" alt=\"\" \/><\/p>\n<p>FUnction\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306f\u8907\u96d1\u306a\u51e6\u7406\u3092\u4e00\u3064\u306b\u3057\u305f\u3082\u306e\u3067\u3001\u623b\u308a\u5024\u304c\u3042\u308a\u3001\u5171\u901a\u90e8\u54c1\u3068\u3057\u3066\u3042\u3089\u3086\u308b\u3068\u3053\u308d\u3067\u518d\u5229\u7528\u304c\u53ef\u80fd\u306a\u95a2\u6570\u3067\u3059\u3002<br \/>\n\u4f7f\u3044\u3053\u306a\u305b\u308b\u3068\u4fbf\u5229\u3067\u3059\u306e\u3067\u3001\u4eca\u5f8c\u3044\u308d\u3044\u308d\u306a\u5229\u7528\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel\u306b\u306f\u6a19\u6e96\u306e\u95a2\u6570\u4ee5\u5916\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u95a2\u6570\u3092\u81ea\u5206\u306e\u8a08\u7b97\u5f0f\u3092\u52a0\u3048\u3066\u51e6\u7406\u7d50\u679c\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u306e\u3053\u3068\u3092Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u8a00\u3044\u3001\u4f7f\u3044\u3053\u306a\u305b\u308b\u3068Excel\u306f\u4ee5\u524d\u3088\u308a\u3050\u3063\u3068\u4fbf\u5229\u306b\u306a\u308a\u307e\u3059\u306e\u3067&#8230;<\/p>\n","protected":false},"author":1,"featured_media":639,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[85],"class_list":{"0":"post-634","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"category-excel","9":"tag-85","10":"article cf"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\"\/>\n\t<meta name=\"keywords\" content=\"\u95a2\u6570\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=634\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=634\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-05-09T15:43:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-03-16T13:09:02+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#article\",\"name\":\"\\u3010Excel VBA\\u3011VBA\\u306eFunction\\u3067\\u30aa\\u30ea\\u30b8\\u30ca\\u30eb\\u95a2\\u6570\\u3092\\u4f5c\\u308d\\u3046 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"headline\":\"\\u3010Excel VBA\\u3011VBA\\u306eFunction\\u3067\\u30aa\\u30ea\\u30b8\\u30ca\\u30eb\\u95a2\\u6570\\u3092\\u4f5c\\u308d\\u3046\",\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/050919_1542_VBAFunctio4.png\",\"width\":377,\"height\":124},\"datePublished\":\"2019-05-10T00:43:28+09:00\",\"dateModified\":\"2022-03-16T22:09:02+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#webpage\"},\"articleSection\":\"Excel VBA, Excel \\u95a2\\u6570, \\u95a2\\u6570\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/extan.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"position\":2,\"name\":\"Microsoft 365\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=47\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"position\":3,\"name\":\"Excel\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=17\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"position\":4,\"name\":\"Excel VBA\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#listItem\",\"name\":\"\\u3010Excel VBA\\u3011VBA\\u306eFunction\\u3067\\u30aa\\u30ea\\u30b8\\u30ca\\u30eb\\u95a2\\u6570\\u3092\\u4f5c\\u308d\\u3046\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#listItem\",\"position\":5,\"name\":\"\\u3010Excel VBA\\u3011VBA\\u306eFunction\\u3067\\u30aa\\u30ea\\u30b8\\u30ca\\u30eb\\u95a2\\u6570\\u3092\\u4f5c\\u308d\\u3046\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\",\"name\":\"\\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"description\":\"\\u50cd\\u304f\\u4eba\\u306e\\u81ea\\u7531\\u6642\\u9593\\u3092\\u3064\\u304f\\u308b\",\"url\":\"https:\\\/\\\/extan.jp\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/extan.jp\\\/?author=1\",\"name\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#webpage\",\"url\":\"https:\\\/\\\/extan.jp\\\/?p=634\",\"name\":\"\\u3010Excel VBA\\u3011VBA\\u306eFunction\\u3067\\u30aa\\u30ea\\u30b8\\u30ca\\u30eb\\u95a2\\u6570\\u3092\\u4f5c\\u308d\\u3046 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/050919_1542_VBAFunctio4.png\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634\\\/#mainImage\",\"width\":377,\"height\":124},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=634#mainImage\"},\"datePublished\":\"2019-05-10T00:43:28+09:00\",\"dateModified\":\"2022-03-16T22:09:02+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\",\"url\":\"https:\\\/\\\/extan.jp\\\/\",\"name\":\"\\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"description\":\"\\u50cd\\u304f\\u4eba\\u306e\\u81ea\\u7531\\u6642\\u9593\\u3092\\u3064\\u304f\\u308b\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046 | \u30a8\u30af\u77ed\uff5cExtan.jp","description":"","canonical_url":"https:\/\/extan.jp\/?p=634","robots":"max-image-preview:large","keywords":"\u95a2\u6570","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/extan.jp\/?p=634#article","name":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046 | \u30a8\u30af\u77ed\uff5cExtan.jp","headline":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046","author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/extan.jp\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio4.png","width":377,"height":124},"datePublished":"2019-05-10T00:43:28+09:00","dateModified":"2022-03-16T22:09:02+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/extan.jp\/?p=634#webpage"},"isPartOf":{"@id":"https:\/\/extan.jp\/?p=634#webpage"},"articleSection":"Excel VBA, Excel \u95a2\u6570, \u95a2\u6570"},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=634#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","position":2,"name":"Microsoft 365","item":"https:\/\/extan.jp\/?cat=47","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","position":3,"name":"Excel","item":"https:\/\/extan.jp\/?cat=17","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","position":4,"name":"Excel VBA","item":"https:\/\/extan.jp\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=634#listItem","name":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=634#listItem","position":5,"name":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046","previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"}}]},{"@type":"Organization","@id":"https:\/\/extan.jp\/#organization","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","url":"https:\/\/extan.jp\/"},{"@type":"Person","@id":"https:\/\/extan.jp\/?author=1#author","url":"https:\/\/extan.jp\/?author=1","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=634#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u30bf\u30ab\u30d2\u30ed@extan"}},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=634#webpage","url":"https:\/\/extan.jp\/?p=634","name":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046 | \u30a8\u30af\u77ed\uff5cExtan.jp","inLanguage":"ja","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"breadcrumb":{"@id":"https:\/\/extan.jp\/?p=634#breadcrumblist"},"author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"creator":{"@id":"https:\/\/extan.jp\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio4.png","@id":"https:\/\/extan.jp\/?p=634\/#mainImage","width":377,"height":124},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=634#mainImage"},"datePublished":"2019-05-10T00:43:28+09:00","dateModified":"2022-03-16T22:09:02+09:00"},{"@type":"WebSite","@id":"https:\/\/extan.jp\/#website","url":"https:\/\/extan.jp\/","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","inLanguage":"ja","publisher":{"@id":"https:\/\/extan.jp\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","og:type":"article","og:title":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046 | \u30a8\u30af\u77ed\uff5cExtan.jp","og:url":"https:\/\/extan.jp\/?p=634","article:published_time":"2019-05-09T15:43:28+00:00","article:modified_time":"2022-03-16T13:09:02+00:00","twitter:card":"summary","twitter:title":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046 | \u30a8\u30af\u77ed\uff5cExtan.jp"},"aioseo_meta_data":{"post_id":"634","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"created":"2021-03-15 13:42:13","updated":"2026-06-24 15:11:48","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=47\" title=\"Microsoft 365\">Microsoft 365<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=17\" title=\"Excel\">Excel<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=6\" title=\"Excel VBA\">Excel VBA<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/extan.jp"},{"label":"Microsoft 365","link":"https:\/\/extan.jp\/?cat=47"},{"label":"Excel","link":"https:\/\/extan.jp\/?cat=17"},{"label":"Excel VBA","link":"https:\/\/extan.jp\/?cat=6"},{"label":"\u3010Excel VBA\u3011VBA\u306eFunction\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u3092\u4f5c\u308d\u3046","link":"https:\/\/extan.jp\/?p=634"}],"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=634"}],"version-history":[{"count":14,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/634\/revisions"}],"predecessor-version":[{"id":7911,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/634\/revisions\/7911"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/639"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}