{"id":3575,"date":"2022-06-01T00:48:17","date_gmt":"2022-05-31T15:48:17","guid":{"rendered":"https:\/\/extan.jp\/?p=3575"},"modified":"2022-12-20T14:46:29","modified_gmt":"2022-12-20T05:46:29","slug":"vba%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%82%92%e3%83%8f%e3%83%b3%e3%83%89%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%99%e3%82%8b3%e3%81%a4%e3%81%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=3575","title":{"rendered":"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01"},"content":{"rendered":"<p>VBA\u3067\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3092\u3046\u307e\u304f\u51e6\u7406\u3057\u305f\u3044\u3053\u3068\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3089\u4f8b\u5916\u7684\u306b\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3055\u305b\u305f\u308a\u3001\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3057\u3066\u51e6\u7406\u3092\u7d99\u7d9a\u3055\u305b\u305f\u308a\u306a\u3069\u3067\u3059\u3002<\/p>\n<p>\u3051\u3069\u3001\u305d\u3093\u306a\u3068\u304d\u306b\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\u30fb\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u4f8b\u5916\u51e6\u7406\u3092\u884c\u308f\u305b\u308b\u65b9\u6cd5\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\uff1f<br \/>\n\u30fb\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u65b9\u6cd5\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\uff1f<\/div>\n<p>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<\/p>\n<div class=\"rdinfo\">\u30fbVBA\u306e\u30a8\u30e9\u30fc\u306e\u7a2e\u985e<br \/>\n\u30fbVBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u3059\u308b3\u3064\u306e\u65b9\u6cd5\u300cOnErrorResume Next\u300d\u3001\u300cOn Error Goto\u300d\u3001\u300cOn Error GoTo 0\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/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=3575\/#VBA%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AE%E7%A8%AE%E9%A1%9E%E3%82%92%E6%8A%8A%E6%8F%A1%E3%81%99%E3%82%8B\" >VBA\u306e\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u3092\u628a\u63e1\u3059\u308b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extan.jp\/?p=3575\/#%E2%91%A0%E6%A7%8B%E6%96%87%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%88%E3%82%B3%E3%83%B3%E3%83%91%E3%82%A4%E3%83%AB%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%89\" >\u2460\u69cb\u6587\u30a8\u30e9\u30fc\uff08\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=3575\/#%E2%91%A1%E5%AE%9F%E8%A1%8C%E6%99%82%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%88%E3%83%A9%E3%83%B3%E3%82%BF%E3%82%A4%E3%83%A0%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%89\" >\u2461\u5b9f\u884c\u6642\u30a8\u30e9\u30fc\uff08\u30e9\u30f3\u30bf\u30a4\u30e0\u30a8\u30e9\u30fc\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=3575\/#%E2%91%A2%E8%AB%96%E7%90%86%E3%82%A8%E3%83%A9%E3%83%BC\" >\u2462\u8ad6\u7406\u30a8\u30e9\u30fc<\/a><\/li><\/ul><\/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=3575\/#%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E5%AF%BE%E8%B1%A1%E3%81%A8%E3%81%AA%E3%82%8B%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AE%E7%A8%AE%E9%A1%9E%E3%81%AF%EF%BC%9F\" >\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u5bfe\u8c61\u3068\u306a\u308b\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u306f\uff1f<\/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=3575\/#%E3%82%A8%E3%83%A9%E3%83%BC%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E2%91%A0VBA%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%82%92%E7%84%A1%E8%A6%96%E3%81%99%E3%82%8B%E3%80%8COnErrorResume_Next%E3%80%8D%E3%82%B9%E3%83%86%E3%83%BC%E3%83%88%E3%83%A1%E3%83%B3%E3%83%88\" >\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u2460VBA\u306e\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u300cOnErrorResume Next\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/extan.jp\/?p=3575\/#%E3%82%A8%E3%83%A9%E3%83%BC%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E2%91%A1%E3%82%A8%E3%83%A9%E3%83%BC%E7%99%BA%E7%94%9F%E6%99%82%E3%81%AB%E4%BE%8B%E5%A4%96%E5%87%A6%E7%90%86%E3%82%92%E3%81%99%E3%82%8B%E3%80%8COn_Error_Goto%E3%80%8D%E3%82%B9%E3%83%86%E3%83%BC%E3%83%88%E3%83%A1%E3%83%B3%E3%83%88\" >\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u2461\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u4f8b\u5916\u51e6\u7406\u3092\u3059\u308b\u300cOn Error Goto\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/extan.jp\/?p=3575\/#%E3%82%A8%E3%83%A9%E3%83%BC%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E2%91%A2%E3%82%A8%E3%83%A9%E3%83%BC%E7%99%BA%E7%94%9F%E6%99%82%E3%81%AB%E3%82%A8%E3%83%A9%E3%83%BC%E7%84%A1%E8%A6%96%E3%82%92%E7%84%A1%E5%8A%B9%E3%81%AB%E3%81%99%E3%82%8B%E3%80%8COn_Error_GoTo_0%E3%80%8D%E3%82%B9%E3%83%86%E3%83%BC%E3%83%88%E3%83%A1%E3%83%B3%E3%83%88\" >\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u2462\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u30a8\u30e9\u30fc\u7121\u8996\u3092\u7121\u52b9\u306b\u3059\u308b\u300cOn Error GoTo 0\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/extan.jp\/?p=3575\/#%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%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AE%E7%A8%AE%E9%A1%9E%E3%82%92%E6%8A%8A%E6%8F%A1%E3%81%99%E3%82%8B\"><\/span>VBA\u306e\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u3092\u628a\u63e1\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u307e\u305a\u306fVBA\u306e\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u306b\u3064\u3044\u3066\u628a\u63e1\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5927\u304d\u304f\u5206\u3051\u30663\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E2%91%A0%E6%A7%8B%E6%96%87%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%88%E3%82%B3%E3%83%B3%E3%83%91%E3%82%A4%E3%83%AB%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%89\"><\/span>\u2460\u69cb\u6587\u30a8\u30e9\u30fc\uff08\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u69cb\u6587\u30a8\u30e9\u30fc\u3068\u306f\u3001\u30b3\u30fc\u30c9\u5185\u306e\u69cb\u6587\u30df\u30b9\u304c\u3042\u3063\u305f\u3068\u304d\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001For\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u6700\u5f8c\u306bNext\u3092\u4ed8\u3051\u5fd8\u308c\u305f\u308a\u3001If\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306bThen\u3092\u5165\u308c\u5fd8\u308c\u305f\u308a\u3059\u308b\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>VBE\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u51fa\u308b\u30a8\u30e9\u30fc\u3001\u307e\u305f\u306fVBA\u3092\u5b9f\u884c\u5f8c\u306b\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u304c\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E2%91%A1%E5%AE%9F%E8%A1%8C%E6%99%82%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%88%E3%83%A9%E3%83%B3%E3%82%BF%E3%82%A4%E3%83%A0%E3%82%A8%E3%83%A9%E3%83%BC%EF%BC%89\"><\/span>\u2461\u5b9f\u884c\u6642\u30a8\u30e9\u30fc\uff08\u30e9\u30f3\u30bf\u30a4\u30e0\u30a8\u30e9\u30fc\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u306f\u30af\u30ea\u30a2\u3057\u305f\u3051\u3069\u3001\u5b9f\u884c\u5f8c\u306e\u5185\u5bb9\u306b\u4e0d\u5099\u304c\u3042\u308b\u5834\u5408\u306b\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p>\u958b\u3053\u3046\u3068\u3057\u305fExcel\u30d6\u30c3\u30af\u304c\u7121\u304b\u3063\u305f\u308a\u3059\u308b\u5834\u5408\u306a\u3069\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E2%91%A2%E8%AB%96%E7%90%86%E3%82%A8%E3%83%A9%E3%83%BC\"><\/span>\u2462\u8ad6\u7406\u30a8\u30e9\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u69cb\u6587\u30a8\u30e9\u30fc\u3001\u5b9f\u884c\u6642\u30a8\u30e9\u30fc\u3092\u30af\u30ea\u30a2\u3057\u3001\u6700\u5f8c\u307e\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u304c\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u306f\u9055\u3046\u7d50\u679c\u306b\u306a\u308b\u5834\u5408\u306e\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u7121\u9650\u30eb\u30fc\u30d7\u306b\u9665\u3063\u305f\u308a\u3001\u7570\u306a\u308b\u5024\u304c\u7b97\u51fa\u3055\u308c\u305f\u308a\u30010\u3067\u9664\u7b97\u3092\u3057\u3088\u3046\u3068\u3057\u305f\u308a\u3059\u308b\u3068\u304d\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\">\u5927\u91cf\u306e\u51e6\u7406\u3092\u884c\u3046\u6642\u306b\u767a\u751f\u3057\u3084\u3059\u3044\u3067\u3059\u306d\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p><script><\/p>\n<p><\/script><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E5%AF%BE%E8%B1%A1%E3%81%A8%E3%81%AA%E3%82%8B%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AE%E7%A8%AE%E9%A1%9E%E3%81%AF%EF%BC%9F\"><\/span>\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u5bfe\u8c61\u3068\u306a\u308b\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u306f\uff1f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30a8\u30e9\u30fc\u306b\u306f3\u3064\u306e\u7a2e\u985e\u304c\u3042\u308b\u3053\u3068\u3092\u3054\u8aac\u660e\u3057\u307e\u3057\u305f\u304c\u3001<\/p>\n<p>\u30a8\u30e9\u30fc\u3092\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u3059\u308b\u5bfe\u8c61\u306f<strong>\u2462\u306e\u8ad6\u7406\u30a8\u30e9\u30fc<\/strong>\u3068<strong>\u2461\u306e\u5b9f\u884c\u6642\u30a8\u30e9\u30fc<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u2460\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u5916\u308c\u308b\u306e\u306f\u3001\u305d\u3082\u305d\u3082\u4fee\u6b63\u3092\u3057\u306a\u3044\u3068VBA\u304c\u6a5f\u80fd\u3057\u306a\u3044\u306e\u3067\u3001\u5fc5\u305a\u4fee\u6b63\u3092\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u3059\u308b\u6bd4\u7387\u304c\u9ad8\u3044\u306e\u306f<strong>\u2462\u306e\u8ad6\u7406\u30a8\u30e9\u30fc<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306f\u2461\u306e\u5b9f\u884c\u6642\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u3068\u3001\u307e\u3063\u305f\u304f\u4e88\u671f\u3057\u306a\u3044\u7d50\u679c\u306b\u306a\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u304c\u53d6\u5f97\u3067\u304d\u306a\u3044\u6642\u306f\u3001\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3057\u305f\u308a\u3001\u4f8b\u5916\u51e6\u7406\u3092\u304a\u3053\u306a\u3046\u3088\u308a\u3082\u3001\u30a8\u30e9\u30fc\u3092\u3057\u3063\u304b\u308a\u51fa\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u6e96\u5099\u3057\u3066\u304b\u3089\u30ea\u30c8\u30e9\u30a4\u3057\u305f\u65b9\u304c\u3088\u3044\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u306b\u5bfe\u3059\u308b\u5bfe\u51e6\u306f\u30a8\u30e9\u30fc\u767a\u751f\u5f8c\u306e\u5f71\u97ff\u7bc4\u56f2\u3084\u5185\u5bb9\u306b\u3088\u3063\u3066\u3001\u6c7a\u3081\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\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\">\u30a8\u30e9\u30fc\u767a\u751f\u5f8c\u306e\u5bfe\u51e6\u306f\u3001\u904b\u7528\u306b\u652f\u969c\u304c\u51fa\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u57fa\u672c\u8a2d\u8a08\u66f8\u3084\u904b\u7528\u8a2d\u8a08\u66f8\u306a\u3069\u306b\u8a18\u8f09\u3055\u308c\u305f\u65b9\u91dd\u306b\u5f93\u3046\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%82%A8%E3%83%A9%E3%83%BC%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E2%91%A0VBA%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%82%92%E7%84%A1%E8%A6%96%E3%81%99%E3%82%8B%E3%80%8COnErrorResume_Next%E3%80%8D%E3%82%B9%E3%83%86%E3%83%BC%E3%83%88%E3%83%A1%E3%83%B3%E3%83%88\"><\/span>\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u2460VBA\u306e\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u300cOnErrorResume Next\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30a8\u30e9\u30fc\u3092\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u3059\u308b\u4e00\u3064\u76ee\u306e\u65b9\u6cd5\u306e\u3001VBA\u306e\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u306f\u30ab\u30f3\u30bf\u30f3\u3067\u3001<\/p>\n<div class=\"info\"><code>On Error Resume Next<\/code><\/div>\n<p>\u3092VBA\u306e\u30b3\u30fc\u30c9\u306e\u4e2d\u306b\u5165\u308c\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u300cOnErrorResume Next\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u306f\u767a\u751f\u3057\u3066\u3082\u7121\u8996\u3055\u308c\u3001\u51e6\u7406\u306f\u7d99\u7d9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u7e70\u308a\u8fd4\u3057\u53d6\u5f97\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u3001\u5024\u304cNull\u3060\u3063\u305f\u308a\u3001\u6570\u5024\u306e0\u304c\u5165\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u5834\u5408\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3082\u6b21\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u51e6\u7406\u3092\u7d99\u7d9a\u3057\u305f\u3044\u3068\u304d\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u30a8\u30e9\u30fc\u3092\u518d\u73fe\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>A\u5217\u306e\u5404\u30bb\u30eb\u306b\u6570\u5b57\u3092\u5165\u529b\u3057\u3001\u305d\u308c\u305e\u308c\u5024\u3092\u53d6\u5f97\u3057\u305f\u3042\u3068\u3067\u5272\u308a\u7b97\u884c\u3044\u3001Debug print\u3059\u308b\u51e6\u7406\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3619\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/03\/032321_1448_1.png\" alt=\"\" width=\"163\" height=\"289\" \/>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u30a8\u30e9\u30fc\u30b5\u30f3\u30d7\u30eb1()\n\n    Dim intNum As Integer\n    \n    For n = 1 To 10\n        \n        intNum = Cells(n, 1).Value\n        \n        Debug.Print 10 \/ intNum\n        \n    Next\n\nEnd Sub<\/code><\/pre>\n<p>\u4eca\u56deA1\u306e\u5024\u304c0\u3067\u3042\u308b\u306e\u3067\u3001\u5272\u308a\u5207\u308c\u305a\u9664\u7b97\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3622\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/03\/032321_1449_1.png\" alt=\"\" width=\"427\" height=\"194\" \/>\n<p>\u30a8\u30e9\u30fc\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"86ItKkgGOt\"><p><a href=\"https:\/\/extan.jp\/?p=2701\">VBA \u30a8\u30e9\u30fc 11\u300c0 \u3067\u9664\u7b97\u3057\u307e\u3057\u305f\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\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;VBA \u30a8\u30e9\u30fc 11\u300c0 \u3067\u9664\u7b97\u3057\u307e\u3057\u305f\u3002\u300d\u306e\u539f\u56e0\u3068\u5bfe\u51e6\u65b9\u6cd5&#8221; &#8212; \u30a8\u30af\u77ed\uff5cExtan.jp\" src=\"https:\/\/extan.jp\/?p=2701&#038;embed=true#?secret=VjGcIxDbbX#?secret=86ItKkgGOt\" data-secret=\"86ItKkgGOt\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u6b21\u306b\u300cOnErrorResume Next\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u30a8\u30e9\u30fc\u30b5\u30f3\u30d7\u30eb1()\n    On Error Resume Next\n    \n    Dim intNum As Integer\n    \n    For n = 1 To 10\n        \n        intNum = Cells(n, 1).Value\n        \n        Debug.Print 10 \/ intNum\n        \n    Next\n\nEnd Sub<\/code><\/pre>\n<p>\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3068\u3001<\/p>\n<p>A1\u306e\u5024\u306f\u7121\u8996\u3055\u308c\u3001\u6700\u5f8c\u307e\u3067\u51e6\u7406\u304c\u7d99\u7d9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u306d\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3620\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/03\/032321_1448_2.png\" alt=\"\" width=\"174\" height=\"165\" \/>\n<h2><span class=\"ez-toc-section\" id=\"%E3%82%A8%E3%83%A9%E3%83%BC%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E2%91%A1%E3%82%A8%E3%83%A9%E3%83%BC%E7%99%BA%E7%94%9F%E6%99%82%E3%81%AB%E4%BE%8B%E5%A4%96%E5%87%A6%E7%90%86%E3%82%92%E3%81%99%E3%82%8B%E3%80%8COn_Error_Goto%E3%80%8D%E3%82%B9%E3%83%86%E3%83%BC%E3%83%88%E3%83%A1%E3%83%B3%E3%83%88\"><\/span>\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u2461\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u4f8b\u5916\u51e6\u7406\u3092\u3059\u308b\u300cOn Error Goto\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u306b\u306fVB.net\u3084C#\u306a\u3069\u306b\u3042\u308bTry\uff5eCatch\u6587\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3067\u3059\u306e\u3067\u3001\u4ee3\u308f\u308a\u306b\u300c<strong>On Error Goto \u30e9\u30d9\u30eb\u540d<\/strong>\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u3046\u5f62\u306b\u306a\u308a\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\">\u30e9\u30d9\u30eb\u540d\u306f\u81ea\u7531\u306b\u6c7a\u3081\u3066\u3082\u3089\u3048\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300cOnErrorGoTo \u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u300d\u3068\u3057\u3001\u300c\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09:\u300d\u306e\u3068\u3053\u308d\u306b\u4f8b\u5916\u51e6\u7406\u3092\u52a0\u3048\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30a8\u30e9\u30fc\u767a\u751f\u5f8c\u3001\u30a8\u30e9\u30fc\u767a\u751f\u500b\u6240\u3068\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\u3092Debug print\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u30a8\u30e9\u30fc\u30b5\u30f3\u30d7\u30eb2()\n\n    Dim intNum As Integer\n    \n    For n = 1 To 10\n    On Error GoTo \u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\n        \n        intNum = Cells(n, 1).Value\n        \n        Debug.Print 10 \/ intNum\n        \n    Next\n    \n\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09:\n    Debug.Print _\n    &quot;\u884c\u756a\u53f7\uff1a&quot;; n &amp; vbCrLf &amp; _\n    &quot;\u30a8\u30e9\u30fc\u756a\u53f7:&quot; &amp; Err.Number &amp; vbCrLf &amp; _\n    &quot;\u30a8\u30e9\u30fc\u306e\u8a73\u7d30:&quot; &amp; Err.Description\n    \nEnd Sub<\/code><\/pre>\n<p>\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306f\u3044\u3001\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3626\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/03\/032321_1517_1.png\" alt=\"\" width=\"260\" height=\"106\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%82%A8%E3%83%A9%E3%83%BC%E5%87%A6%E7%90%86%EF%BC%88%E3%83%8F%E3%83%B3%E3%83%89%E3%83%AA%E3%83%B3%E3%82%B0%EF%BC%89%E2%91%A2%E3%82%A8%E3%83%A9%E3%83%BC%E7%99%BA%E7%94%9F%E6%99%82%E3%81%AB%E3%82%A8%E3%83%A9%E3%83%BC%E7%84%A1%E8%A6%96%E3%82%92%E7%84%A1%E5%8A%B9%E3%81%AB%E3%81%99%E3%82%8B%E3%80%8COn_Error_GoTo_0%E3%80%8D%E3%82%B9%E3%83%86%E3%83%BC%E3%83%88%E3%83%A1%E3%83%B3%E3%83%88\"><\/span>\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u2462\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u30a8\u30e9\u30fc\u7121\u8996\u3092\u7121\u52b9\u306b\u3059\u308b\u300cOn Error GoTo 0\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u300cOn Error GoTo 0\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u3046\u3068\u30a8\u30e9\u30fc\u7121\u8996\u3092\u89e3\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300cOn Error Resume Next\u300d\u3067\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3057\u307e\u3059\u304c\u3001\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u305f\u3044\u7b87\u6240\u306f\u5192\u982d\u306b\u300cOn Error GoTo 0\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u52a0\u3048\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u51e6\u7406\u3068\u30a8\u30e9\u30fc\u7121\u8996\u3092\u89e3\u9664\u3059\u308b2\u3064\u306e\u51e6\u7406\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u30a8\u30e9\u30fc\u30b5\u30f3\u30d7\u30eb3()\n    On Error Resume Next &#039;\u30a8\u30e9\u30fc\u7121\u8996\n    \n    Dim intNum As Integer\n    \n    For n = 1 To 10\n        \n        intNum = Cells(n, 1).Value\n        \n        Debug.Print 10 \/ intNum\n        \n    Next\n    \n    On Error GoTo 0  &#039;\u30a8\u30e9\u30fc\u7121\u8996\u3092\u89e3\u9664\n    \n    For n = 1 To 10\n        \n        intNum = Cells(n, 1).Value\n        \n        Debug.Print 10 \/ intNum\n        \n    Next\n    \n\nEnd Sub<\/code><\/pre>\n<p>\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306f\u3044\u30012\u56de\u76ee\u306eFor\u51e6\u7406\u306e\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u7121\u8996\u304c\u7121\u52b9\u5316\u3055\u308c\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u306d\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3622\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/03\/032321_1449_1.png\" alt=\"\" width=\"427\" height=\"194\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3626\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/03\/032321_1517_1.png\" alt=\"\" width=\"260\" height=\"106\" \/><\/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\u306e\u30a8\u30e9\u30fc\u306e\u7a2e\u985e<br \/>\n\u30fbVBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u3059\u308b3\u3064\u306e\u65b9\u6cd5\u300cOnErrorResume Next\u300d\u3001\u300cOn Error Goto\u300d\u3001\u300cOn Error GoTo 0\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>VBA\u306e\u30a8\u30e9\u30fc\u51e6\u7406\uff08\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u306f\u4ed6\u306e\u8a00\u8a9e\u3068\u6bd4\u3079\u3066\u5c11\u306a\u3044\u306e\u3067\u3059\u306e\u3067\u3001<\/p>\n<p>\u3057\u3063\u304b\u308a\u3068\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\u3067\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3092\u3046\u307e\u304f\u51e6\u7406\u3057\u305f\u3044\u3053\u3068\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u4f8b\u3048\u3070\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3089\u4f8b\u5916\u7684\u306b\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3055\u305b\u305f\u308a\u3001\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3057\u3066\u51e6\u7406\u3092\u7d99\u7d9a\u3055\u305b\u305f\u308a\u306a\u3069\u3067\u3059\u3002 \u3051\u3069\u3001\u305d\u3093\u306a\u3068\u304d\u306b\u60a9\u3080\u3053\u3068\u306f\u3001 \u30fb\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u4f8b\u5916&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3632,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[22],"class_list":{"0":"post-3575","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=3575\" \/>\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\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=3575\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-05-31T15:48:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-12-20T05:46:29+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01 | \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=3575#article\",\"name\":\"VBA\\u306e\\u30a8\\u30e9\\u30fc\\u3092\\u51e6\\u7406\\u3059\\u308b3\\u3064\\u306e\\u65b9\\u6cd5\\uff01\\u30a8\\u30e9\\u30fc\\u7121\\u8996\\u3082\\uff01 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"headline\":\"VBA\\u306e\\u30a8\\u30e9\\u30fc\\u3092\\u51e6\\u7406\\u3059\\u308b3\\u3064\\u306e\\u65b9\\u6cd5\\uff01\\u30a8\\u30e9\\u30fc\\u7121\\u8996\\u3082\\uff01\",\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/00.png\",\"width\":652,\"height\":416},\"datePublished\":\"2022-06-01T00:48:17+09:00\",\"dateModified\":\"2022-12-20T14:46:29+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=3575#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=3575#webpage\"},\"articleSection\":\"Excel VBA, \\u30a8\\u30e9\\u30fc\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=3575#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=3575#listItem\",\"name\":\"VBA\\u306e\\u30a8\\u30e9\\u30fc\\u3092\\u51e6\\u7406\\u3059\\u308b3\\u3064\\u306e\\u65b9\\u6cd5\\uff01\\u30a8\\u30e9\\u30fc\\u7121\\u8996\\u3082\\uff01\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=3575#listItem\",\"position\":5,\"name\":\"VBA\\u306e\\u30a8\\u30e9\\u30fc\\u3092\\u51e6\\u7406\\u3059\\u308b3\\u3064\\u306e\\u65b9\\u6cd5\\uff01\\u30a8\\u30e9\\u30fc\\u7121\\u8996\\u3082\\uff01\",\"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=3575#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=3575#webpage\",\"url\":\"https:\\\/\\\/extan.jp\\\/?p=3575\",\"name\":\"VBA\\u306e\\u30a8\\u30e9\\u30fc\\u3092\\u51e6\\u7406\\u3059\\u308b3\\u3064\\u306e\\u65b9\\u6cd5\\uff01\\u30a8\\u30e9\\u30fc\\u7121\\u8996\\u3082\\uff01 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=3575#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\\\/2021\\\/03\\\/00.png\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=3575\\\/#mainImage\",\"width\":652,\"height\":416},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=3575#mainImage\"},\"datePublished\":\"2022-06-01T00:48:17+09:00\",\"dateModified\":\"2022-12-20T14:46:29+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\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","description":"","canonical_url":"https:\/\/extan.jp\/?p=3575","robots":"max-image-preview:large","keywords":"\u30a8\u30e9\u30fc","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/extan.jp\/?p=3575#article","name":"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","headline":"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01","author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/extan.jp\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2021\/03\/00.png","width":652,"height":416},"datePublished":"2022-06-01T00:48:17+09:00","dateModified":"2022-12-20T14:46:29+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/extan.jp\/?p=3575#webpage"},"isPartOf":{"@id":"https:\/\/extan.jp\/?p=3575#webpage"},"articleSection":"Excel VBA, \u30a8\u30e9\u30fc"},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=3575#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=3575#listItem","name":"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=3575#listItem","position":5,"name":"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01","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=3575#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=3575#webpage","url":"https:\/\/extan.jp\/?p=3575","name":"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","inLanguage":"ja","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"breadcrumb":{"@id":"https:\/\/extan.jp\/?p=3575#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\/2021\/03\/00.png","@id":"https:\/\/extan.jp\/?p=3575\/#mainImage","width":652,"height":416},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=3575#mainImage"},"datePublished":"2022-06-01T00:48:17+09:00","dateModified":"2022-12-20T14:46:29+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\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","og:url":"https:\/\/extan.jp\/?p=3575","article:published_time":"2022-05-31T15:48:17+00:00","article:modified_time":"2022-12-20T05:46:29+00:00","twitter:card":"summary","twitter:title":"VBA\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp"},"aioseo_meta_data":{"post_id":"3575","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"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":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"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":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","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":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":{"businessInfo":{"name":"","urls":{"website":"","aboutPage":"","contactPage":""},"address":{"line1":"","line2":"","zip":"","city":"","state":"","country":""},"contact":{"email":"","phone":"","fax":""},"ids":{"vatID":"","taxID":"","chamberID":""},"payment":{"priceIndication":"","currenciesAccepted":"","methodsAccepted":""},"areaServed":""},"openingHours":{"show":false,"closedLabel":"","open24h":false,"open24hLabel":"","open247":false,"use24hFormat":false,"twoSets":false,"timezone":"","hours":[]}},"created":"2021-03-15 15:11:15","updated":"2026-06-24 15:27:52","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":{"id":"#aioseo-article-6a3bf778843de","slug":"article","graphName":"Article","label":"\u8a18\u4e8b","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"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\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01\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\u306e\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b3\u3064\u306e\u65b9\u6cd5\uff01\u30a8\u30e9\u30fc\u7121\u8996\u3082\uff01","link":"https:\/\/extan.jp\/?p=3575"}],"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/3575","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=3575"}],"version-history":[{"count":23,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/3575\/revisions"}],"predecessor-version":[{"id":10131,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/3575\/revisions\/10131"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/3632"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}