{"id":2729,"date":"2022-09-28T09:04:46","date_gmt":"2022-09-28T00:04:46","guid":{"rendered":"https:\/\/extan.jp\/?p=2729"},"modified":"2022-09-28T10:26:04","modified_gmt":"2022-09-28T01:26:04","slug":"vba-%e3%82%a8%e3%83%a9%e3%83%bc%e3%80%8c35-sub-%e3%81%be%e3%81%9f%e3%81%af-function-%e3%81%8c%e5%ae%9a%e7%be%a9%e3%81%95%e3%82%8c%e3%81%a6%e3%81%84%e3%81%be%e3%81%9b%e3%82%93%e3%80%82%e3%80%8d","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=2729","title":{"rendered":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5"},"content":{"rendered":"<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u3068VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u3092\u898b\u308b\u6a5f\u4f1a\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<\/p>\n<p>\u30b3\u30fc\u30c9\u3092\u307f\u3066\u3082\u8aa4\u3063\u305f\u7b87\u6240\u304c\u308f\u304b\u3089\u305a\u9014\u65b9\u306b\u66ae\u308c\u308b\u5834\u5408\u3082\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\u30fbVBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u306f\u306a\u306b\uff1f<br \/>\n\u30fbVBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u5bfe\u51e6\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\uff1f<\/div>\n<p>\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u4eca\u56de\u306f\u3001<\/p>\n<div class=\"rdinfo\">\u30fbVBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u30b5\u30af\u3063\u3068\u3067\u304d\u308b\u5bfe\u51e6\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\uff01<\/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=2729\/#VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%80%8CSub_%E3%81%BE%E3%81%9F%E3%81%AF_Function_%E3%81%8C%E5%AE%9A%E7%BE%A9%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E3%80%8D%E3%81%AF%E3%81%A9%E3%82%93%E3%81%AA%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%9F\" >VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306f\u3069\u3093\u306a\u30a8\u30e9\u30fc\uff1f<\/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=2729\/#VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A0%E3%80%8C%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E3%81%AE%E5%90%8D%E5%89%8D%E3%81%AE%E3%82%B9%E3%83%9A%E3%83%AB%E3%81%8C%E8%AA%A4%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D\" >VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2460\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u540d\u524d\u306e\u30b9\u30da\u30eb\u304c\u8aa4\u3063\u3066\u3044\u308b\u300d<\/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=2729\/#VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A1%E3%80%8C%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%81%8C%E6%8A%9C%E3%81%91%E3%81%A6%E3%81%84%E3%81%A6%E7%8F%BE%E8%A1%8C%E3%81%AB%E3%81%AA%E3%81%84%E5%87%A6%E7%90%86%E3%82%92%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D\" >VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2461\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u3066\u73fe\u884c\u306b\u306a\u3044\u51e6\u7406\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u300d<\/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=2729\/#VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A0%E3%80%8C%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E3%81%AE%E5%90%8D%E5%89%8D%E3%81%AE%E3%82%B9%E3%83%9A%E3%83%AB%E3%81%8C%E8%AA%A4%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95%E3%81%AF%E5%AD%98%E5%9C%A8%E3%81%99%E3%82%8B%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E5%90%8D%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%97%E3%80%81%E4%BF%AE%E6%AD%A3\" >VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2460\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u540d\u524d\u306e\u30b9\u30da\u30eb\u304c\u8aa4\u3063\u3066\u3044\u308b\u300d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f\u5b58\u5728\u3059\u308b\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u540d\u3092\u78ba\u8a8d\u3057\u3001\u4fee\u6b63<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extan.jp\/?p=2729\/#VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A1%E3%80%8C%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%81%8C%E6%8A%9C%E3%81%91%E3%81%A6%E3%81%84%E3%81%A6%E7%8F%BE%E8%A1%8C%E3%81%AB%E3%81%AA%E3%81%84%E5%87%A6%E7%90%86%E3%82%92%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95%E3%81%AF%E5%BF%85%E8%A6%81%E3%81%AA%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B\" >VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2461\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u3066\u73fe\u884c\u306b\u306a\u3044\u51e6\u7406\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u300d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u3092\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=2729\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" >\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%80%8CSub_%E3%81%BE%E3%81%9F%E3%81%AF_Function_%E3%81%8C%E5%AE%9A%E7%BE%A9%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E3%80%8D%E3%81%AF%E3%81%A9%E3%82%93%E3%81%AA%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%9F\"><\/span>VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306f\u3069\u3093\u306a\u30a8\u30e9\u30fc\uff1f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Sub\u3001Function\u3001\u307e\u305f\u306f Property\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3001\u547c\u3073\u51fa\u3057\u5148\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u304c\u5b58\u5728\u3057\u306a\u3044\u3068\u304d\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eee\u7d44\u3057\u305f\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u547c\u3073\u51fa\u3057\u305f\u3044\u6642\u306b\u826f\u304f\u8d77\u304d\u308b\u30a8\u30e9\u30fc\u3067\u3059\u306d\u3002<\/p>\n<p>\u547c\u3073\u51fa\u3057\u5148\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u540d\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u5358\u7d14\u306a\u30df\u30b9\u3067\u3042\u308b\u5834\u5408\u304c\u307b\u3068\u3093\u3069\u306a\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A0%E3%80%8C%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E3%81%AE%E5%90%8D%E5%89%8D%E3%81%AE%E3%82%B9%E3%83%9A%E3%83%AB%E3%81%8C%E8%AA%A4%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D\"><\/span>VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2460\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u540d\u524d\u306e\u30b9\u30da\u30eb\u304c\u8aa4\u3063\u3066\u3044\u308b\u300d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u540d\u524d\u306e\u30b9\u30da\u30eb\u304c\u8aa4\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u30a8\u30e9\u30fc 35\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u305d\u3093\u306a\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306f\u5b58\u5728\u3057\u306a\u3044\u3088\uff01\u300d<\/p>\n<p>\u3068\u6012\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u306d\u3002<\/p>\n<p>\u4ee5\u4e0b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic\">Sub \u30a8\u30e9\u30fc\u30c6\u30b9\u30c81()\n\n    Call \u8aa4\u3063\u305f\u547c\u3073\u51fa\u3057\u5148\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\n\nEnd Sub\n\nSub \u547c\u3073\u51fa\u3057\u5148\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3()\n\n    MsgBox &quot;\u547c\u3073\u51fa\u3055\u308c\u307e\u3057\u305f&quot;\n\nEnd Sub<\/code><\/pre>\n<p>\u547c\u3073\u51fa\u3057\u5148\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u30b9\u30da\u30eb\u304c\u9055\u3046\u306e\u3067\u3001\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2732\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2020\/11\/110120_0306_1.png\" alt=\"\" width=\"286\" height=\"154\" \/>\n<p>&#8212;&#8211;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A1%E3%80%8C%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%81%8C%E6%8A%9C%E3%81%91%E3%81%A6%E3%81%84%E3%81%A6%E7%8F%BE%E8%A1%8C%E3%81%AB%E3%81%AA%E3%81%84%E5%87%A6%E7%90%86%E3%82%92%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D\"><\/span>VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2461\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u3066\u73fe\u884c\u306b\u306a\u3044\u51e6\u7406\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u300d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u3066\u73fe\u884c\u306b\u306a\u3044\u51e6\u7406\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u30a8\u30e9\u30fc 35\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070Word\u306eVBA\u3067Excel\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u51e6\u7406\u3092\u3059\u308b\u3068\u304d\u306b\u300cExcel Object Library\u300d\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u305f\u308a\u3001<br \/>\nExcel\u5074\u304b\u3089Outlook\u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u300cOutlook Object Library\u300d\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u305f\u308a\u3059\u308b\u5834\u5408\u304c\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n<p><!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">\u5b9f\u969b\u306b\u554f\u3044\u5408\u308f\u305b\u304c\u3042\u3063\u305f\u30b3\u30fc\u30c9\u3067\u30a8\u30e9\u30fc\u3092\u518d\u73fe\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p>\u3053\u3061\u3089\u306e\u8a18\u4e8b\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"xzzBpEwtrR\"><p><a href=\"https:\/\/extan.jp\/?p=5603\">\u3010Word VBA\u3011\u30ef\u30fc\u30c9\u3067\u6570\u5b57\u3092\u6f22\u6570\u5b57\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010Word VBA\u3011\u30ef\u30fc\u30c9\u3067\u6570\u5b57\u3092\u6f22\u6570\u5b57\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5&#8221; &#8212; \u30a8\u30af\u77ed\uff5cExtan.jp\" src=\"https:\/\/extan.jp\/?p=5603&#038;embed=true#?secret=Fi1EO8uYcL#?secret=xzzBpEwtrR\" data-secret=\"xzzBpEwtrR\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u6570\u5b57\u3092\u6f22\u6570\u5b57\u306b\u5909\u63db\u3059\u308b\u51e6\u7406\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092Word\u5074\u306b\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic\">Sub \u6570\u5b57\u3092\u6f22\u6570\u5b57\u306b\u5909\u63db\u3059\u308b()\n\n  Dim strChangeWord As String\n  Dim strBuf As String\n  Dim objWord As Range\n  Dim objParagraph As Paragraph\n  \n  &#039;\u6f22\u6570\u5b57\u5909\u63db\u30d1\u30bf\u30fc\u30f3\uff08\u66f8\u5f0f\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n  &#039;\u5341\uff64\u767e\uff64\u5343\uff64\u4e07\u21d21\n  &#039;\u62fe\uff64\u767e\uff64\u9621\uff64\u842c\u21d22\n  &#039;\u4e00\uff64\u4e8c\uff64\u4e09\u3000\u21d23\n  Const intshoshikiNum = 1\n\n&#039;RegExp\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\uff61\nSet objRegExp = CreateObject(&quot;VBScript.RegExp&quot;)\n\n&#039;\u5168\u4f53\u306e\u7bc4\u56f2\u304b\u30891\u884c\u3065\u3064\u6587\u5b57\u5217\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002\nFor Each objParagraph In ActiveDocument.Range.Paragraphs\n\n    &#039;Range.Text\u30671\u884c\u5206\u8aad\u307f\u53d6\u3063\u305f\u6587\u5b57\u5217\u3092\u5909\u6570\u306b\u683c\u7d0d\u3057\u307e\u3059\u3002\n    strBuf = objParagraph.Range.Text\n    \n    &#039;\u691c\u7d22\u6761\u4ef6\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002&quot;([0-9]+)&quot;\u306f\u6570\u5b57\u306e\u584a\u306e\u6307\u5b9a\u6761\u4ef6\u3068\u306a\u308a\u307e\u3059\u3002\n    objRegExp.Pattern = &quot;([0-9]+)&quot;\n\n    &#039;\u691c\u7d22\u3092\u5b9f\u884c\u3057\u4e00\u81f4\u3059\u308b\u9650\u308a\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002\n    For Each objMatchWord In objRegExp.Execute(strBuf)\n        \n        &#039;\u691c\u7d22\u7d50\u679c\u306e\u5024\u3092\u6f22\u6570\u5b57\u3078\u5909\u63db\u3057\u3001\u5909\u6570\u3078\u4ee3\u5165\u3057\u307e\u3059\u3002\n        strChangeWord = Evaluate(&quot;NUMBERSTRING(&quot; &amp; objMatchWord.Value &amp; &quot;,&quot; &amp; intshoshikiNum &amp; &quot;)&quot;)\n\n        &#039;\u5909\u63db\u5f8c\u306e\u6587\u5b57\u5217\u3068\u5909\u63db\u524d\u306e\u6587\u5b57\u5217\u3092\u7f6e\u304d\u63db\u3048\u5909\u6570\u3078\u683c\u7d0d\u3057\u307e\u3059\u3002\u203b1\u884c\u306b\u8907\u6570\u6761\u4ef6\u306b\u8a72\u5f53\u3059\u308b\u6587\u5b57\u5217\u304c\u3042\u308c\u3070\u9806\u306b\u7f6e\u63db\u3057\u3066\u3044\u304d\u307e\u3059\u3002\n        strBuf = objRegExp.Replace(strBuf, strChangeWord)\n    \n    Next\n   \n    &#039;\u4f5c\u696dbuf\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u305f\u3089\u30011\u884c\u3092\u307e\u308b\u307e\u308b\u4ea4\u63db\u3057\u307e\u3059\u3002\n    If strBuf &lt;&gt; objParagraph.Range.Text Then\n        objParagraph.Range.Text = strBuf\n    End If\n\n  Next\n  \n  MsgBox &quot;\u6570\u5b57\u3092\u6f22\u6570\u5b57\u306b\u5909\u63db\u3057\u307e\u3057\u305f\uff01&quot;\n  \n  Set objParagraph = Nothing\n  Set objMatchWord = Nothing\n  Set objRegExp = Nothing\nEnd Sub<\/code><\/pre>\n<p>NUMBERSTRING\u95a2\u6570\u306fExcel\u306e\u95a2\u6570\u3067\u3001Word\u3067\u306f\u5b58\u5728\u3057\u306a\u3044\u95a2\u6570\u306e\u305f\u3081\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&#8212;&#8211;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A0%E3%80%8C%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E3%81%AE%E5%90%8D%E5%89%8D%E3%81%AE%E3%82%B9%E3%83%9A%E3%83%AB%E3%81%8C%E8%AA%A4%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95%E3%81%AF%E5%AD%98%E5%9C%A8%E3%81%99%E3%82%8B%E3%83%97%E3%83%AD%E3%82%B7%E3%83%BC%E3%82%B8%E3%83%A3%E5%90%8D%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%97%E3%80%81%E4%BF%AE%E6%AD%A3\"><\/span>VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2460\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u540d\u524d\u306e\u30b9\u30da\u30eb\u304c\u8aa4\u3063\u3066\u3044\u308b\u300d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f\u5b58\u5728\u3059\u308b\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u540d\u3092\u78ba\u8a8d\u3057\u3001\u4fee\u6b63<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u540d\u524d\u306e\u30b9\u30da\u30eb\u304c\u8aa4\u3063\u3066\u3044\u308b\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f<\/p>\n<p>\u5b58\u5728\u3059\u308b\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u540d\u3092\u78ba\u8a8d\u3057\u3001\u305d\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u540d\u306b\u8a02\u6b63\u3092\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VBA_%E3%82%A8%E3%83%A9%E3%83%BC_35%E3%81%AE%E5%8E%9F%E5%9B%A0%E2%91%A1%E3%80%8C%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%81%8C%E6%8A%9C%E3%81%91%E3%81%A6%E3%81%84%E3%81%A6%E7%8F%BE%E8%A1%8C%E3%81%AB%E3%81%AA%E3%81%84%E5%87%A6%E7%90%86%E3%82%92%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%80%8D%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95%E3%81%AF%E5%BF%85%E8%A6%81%E3%81%AA%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B\"><\/span>VBA \u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2461\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u3066\u73fe\u884c\u306b\u306a\u3044\u51e6\u7406\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u300d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u3092\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30a8\u30e9\u30fc 35\u306e\u539f\u56e0\u2461\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u304c\u629c\u3051\u3066\u3044\u3066\u73fe\u884c\u306b\u306a\u3044\u51e6\u7406\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u300d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306eWord\u306e\u5834\u5408\u306fExce l\u306e\u95a2\u6570\u300cNUMBERSTRING\u300d\u306e\u5b9a\u7fa9\u304c\u3042\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u53c2\u7167\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081<br \/>\nVBE(Visual Basic Editor)\u3092\u958b\u304d\u3001\u300c\u30c4\u30fc\u30eb\u300d\uff1e\u300c\u53c2\u7167\u8a2d\u5b9a\u300d\u304b\u3089<br \/>\n\u300cMicrosoft Excel **.* Object Library\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c<span class=\"keybtn\">OK<\/span>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5b9f\u88c5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5730\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/10\/101421_1444_2.png\" alt=\"\" width=\"457\" height=\"239\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/10\/101421_1444_2.png 457w, https:\/\/extan.jp\/wp-content\/uploads\/2021\/10\/101421_1444_2-300x157.png 300w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4eca\u56de\u306f\u3001<\/p>\n<div class=\"endinfo\">\u30fbVBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u30b5\u30af\u3063\u3068\u3067\u304d\u308b\u5bfe\u51e6\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>VBA\u306e\u30a8\u30e9\u30fc\u306f\u30d1\u30bf\u30fc\u30f3\u3092\u77e5\u3063\u3066\u304a\u304f\u3068\u767a\u751f\u3057\u305f\u6642\u306b\u614c\u3066\u305a\u5bfe\u5fdc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u3001<\/p>\n<p>\u3057\u3063\u304b\u308a\u3068\u5bfe\u51e6\u65b9\u6cd5\u3092\u628a\u63e1\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u305f\u3044\u3067\u3059\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u3068VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u3092\u898b\u308b\u6a5f\u4f1a\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f \u30b3\u30fc\u30c9\u3092\u307f\u3066\u3082\u8aa4\u3063\u305f\u7b87\u6240\u304c\u308f\u304b\u3089\u305a\u9014\u65b9\u306b\u66ae\u308c\u308b\u5834\u5408\u3082\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002 \u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2730,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[22],"class_list":{"0":"post-2729","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"tag-error","9":"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=\"\u30a8\u30e9\u30fc\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=2729\" \/>\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=\"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=2729\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-09-28T00:04:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-09-28T01:26:04+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5 | \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=2729#article\",\"name\":\"VBA \\u30a8\\u30e9\\u30fc 35\\u300cSub \\u307e\\u305f\\u306f Function \\u304c\\u5b9a\\u7fa9\\u3055\\u308c\\u3066\\u3044\\u307e\\u305b\\u3093\\u3002\\u300d\\u306e\\u539f\\u56e0\\u3068\\u5bfe\\u51e6\\u65b9\\u6cd5 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"headline\":\"VBA \\u30a8\\u30e9\\u30fc 35\\u300cSub \\u307e\\u305f\\u306f Function \\u304c\\u5b9a\\u7fa9\\u3055\\u308c\\u3066\\u3044\\u307e\\u305b\\u3093\\u3002\\u300d\\u306e\\u539f\\u56e0\\u3068\\u5bfe\\u51e6\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/err-35.png\",\"width\":765,\"height\":496},\"datePublished\":\"2022-09-28T09:04:46+09:00\",\"dateModified\":\"2022-09-28T10:26:04+09:00\",\"inLanguage\":\"ja\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=2729#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=2729#webpage\"},\"articleSection\":\"Excel VBA, \\u30a8\\u30e9\\u30fc\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=2729#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=2729#listItem\",\"name\":\"VBA \\u30a8\\u30e9\\u30fc 35\\u300cSub \\u307e\\u305f\\u306f Function \\u304c\\u5b9a\\u7fa9\\u3055\\u308c\\u3066\\u3044\\u307e\\u305b\\u3093\\u3002\\u300d\\u306e\\u539f\\u56e0\\u3068\\u5bfe\\u51e6\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=2729#listItem\",\"position\":5,\"name\":\"VBA \\u30a8\\u30e9\\u30fc 35\\u300cSub \\u307e\\u305f\\u306f Function \\u304c\\u5b9a\\u7fa9\\u3055\\u308c\\u3066\\u3044\\u307e\\u305b\\u3093\\u3002\\u300d\\u306e\\u539f\\u56e0\\u3068\\u5bfe\\u51e6\\u65b9\\u6cd5\",\"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=2729#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=2729#webpage\",\"url\":\"https:\\\/\\\/extan.jp\\\/?p=2729\",\"name\":\"VBA \\u30a8\\u30e9\\u30fc 35\\u300cSub \\u307e\\u305f\\u306f Function \\u304c\\u5b9a\\u7fa9\\u3055\\u308c\\u3066\\u3044\\u307e\\u305b\\u3093\\u3002\\u300d\\u306e\\u539f\\u56e0\\u3068\\u5bfe\\u51e6\\u65b9\\u6cd5 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=2729#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\\\/2020\\\/11\\\/err-35.png\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=2729\\\/#mainImage\",\"width\":765,\"height\":496},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=2729#mainImage\"},\"datePublished\":\"2022-09-28T09:04:46+09:00\",\"dateModified\":\"2022-09-28T10:26:04+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":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","description":"","canonical_url":"https:\/\/extan.jp\/?p=2729","robots":"max-image-preview:large","keywords":"\u30a8\u30e9\u30fc","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/extan.jp\/?p=2729#article","name":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","headline":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5","author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/extan.jp\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2020\/11\/err-35.png","width":765,"height":496},"datePublished":"2022-09-28T09:04:46+09:00","dateModified":"2022-09-28T10:26:04+09:00","inLanguage":"ja","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/extan.jp\/?p=2729#webpage"},"isPartOf":{"@id":"https:\/\/extan.jp\/?p=2729#webpage"},"articleSection":"Excel VBA, \u30a8\u30e9\u30fc"},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=2729#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=2729#listItem","name":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=2729#listItem","position":5,"name":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5","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=2729#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=2729#webpage","url":"https:\/\/extan.jp\/?p=2729","name":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","inLanguage":"ja","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"breadcrumb":{"@id":"https:\/\/extan.jp\/?p=2729#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\/2020\/11\/err-35.png","@id":"https:\/\/extan.jp\/?p=2729\/#mainImage","width":765,"height":496},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=2729#mainImage"},"datePublished":"2022-09-28T09:04:46+09:00","dateModified":"2022-09-28T10:26:04+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":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","og:url":"https:\/\/extan.jp\/?p=2729","article:published_time":"2022-09-28T00:04:46+00:00","article:modified_time":"2022-09-28T01:26:04+00:00","twitter:card":"summary","twitter:title":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp"},"aioseo_meta_data":{"post_id":"2729","title":null,"description":"","keywords":"","keyphrases":null,"canonical_url":"","og_title":"","og_description":"","og_object_type":"article","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":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","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:47:27","updated":"2026-06-24 15:18:40","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\tVBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5\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":"VBA \u30a8\u30e9\u30fc 35\u300cSub \u307e\u305f\u306f Function \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5","link":"https:\/\/extan.jp\/?p=2729"}],"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/2729","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=2729"}],"version-history":[{"count":7,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/2729\/revisions"}],"predecessor-version":[{"id":9773,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/2729\/revisions\/9773"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/2730"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}