{"id":89941,"date":"2019-03-29T00:38:36","date_gmt":"2019-03-28T15:38:36","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=89941"},"modified":"2024-05-06T11:54:58","modified_gmt":"2024-05-06T02:54:58","slug":"vba%e3%81%ae%e9%96%a2%e6%95%b0%e3%81%a8%e3%81%af%ef%bc%9f%e9%96%a2%e6%95%b0%e3%81%ae%e7%a8%ae%e9%a1%9e%e3%83%bb%e3%83%a1%e3%83%aa%e3%83%83%e3%83%88%e3%83%bb%e4%bd%9c%e3%82%8a%e6%96%b9%e3%82%92","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/89941","title":{"rendered":"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01"},"content":{"rendered":"<p><div class=\"box_voice\"><br \/>\nVBA\u306e\u51e6\u7406\u306f\u4f5c\u3063\u305f\u3053\u3068\u3042\u308b\u3051\u3069\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u304c\u308f\u304b\u3089\u306a\u3044\u30fb\u30fb\u30fb<br \/>\n\u95a2\u6570\u306e\u7a2e\u985e\u3084\u3001\u5177\u4f53\u7684\u306a\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u3092\u77e5\u308a\u305f\u3044\u306a\u30fb\u30fb\u30fb<br \/>\n<\/div><\/p>\n<p>\u30de\u30af\u30ed\u306e\u8a18\u9332\u3084\u7c21\u5358\u306aSub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u4f5c\u3063\u3066VBA\u3092\u66f8\u3044\u305f\u3053\u3068\u304c\u3042\u308b\u4eba\u306f\u591a\u3044\u3067\u3059\u304c\u3001\u95a2\u6570\u3092\u4f7f\u3044\u3053\u306a\u3057\u3066\u30c4\u30fc\u30eb\u3092\u4f5c\u3063\u3066\u3044\u308b\u4eba\u306f\u5c11\u306a\u3044\u3067\u3059\u3002VBA\u3092\u672c\u683c\u7684\u306b\u529b\u3092\u5165\u308c\u3066\u5b66\u7fd2\u3057\u3066\u3044\u308b\u4eba\u306f\u5225\u3067\u3059\u304c\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306bVBA\u3092\u4f7f\u3063\u305f\u4eba\u306f\u308f\u304b\u3089\u306a\u3044\u3053\u3068\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u517c\u30c6\u30c3\u30af\u30e9\u30a4\u30bf\u30fc\u306e\u8107\u5742\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u95a2\u6570\u3092\u899a\u3048\u3066VBA\u3092\u3088\u308a\u4f7f\u3044\u3053\u306a\u3057\u3066\u3044\u304d\u305f\u3044\u65b9\u5411\u3051\u306b\u3001<b>VBA\u306e\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9<\/b>\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\uff01<\/p>\n<p>\u307e\u305f\u3001\u5358\u7d14\u306b\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u3092\u89e3\u8aac\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u95a2\u6570\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u30fb\u5177\u4f53\u7684\u306a\u7528\u9014\u306a\u3069\u3082\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\u95a2\u6570\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u65b9\u6cd5\u3092\u5168\u3066\u307e\u3068\u3081\u3066\u89e3\u8aac\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305c\u3072\u898b\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n<p><b>\u3053\u306e\u8a18\u4e8b\u306f\u3053\u3093\u306a\u4eba\u306e\u305f\u3081\u306b\u66f8\u304d\u307e\u3057\u305f\u3002<\/b><br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li>\u7c21\u5358\u306aSub\u306e\u51e6\u7406\u3092\u4f5c\u3063\u305f\u3053\u3068\u306f\u3042\u308b\u304c\u3001Function\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba<\/li>\n<li>\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u5177\u4f53\u7684\u306a\u7528\u9014\u3092\u30a4\u30e1\u30fc\u30b8\u3067\u304d\u306a\u3044\u4eba<\/li>\n<\/ul>\n<\/div>\n<h2>VBA\u306e\u95a2\u6570\u3068\u306f\uff1f<\/h2>\n<p>\u6700\u521d\u306b\u3001\u95a2\u6570\u306b\u3064\u3044\u3066\u7c21\u5358\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u3068\u306f\u3001<b>\u5b9f\u884c\u5f8c\u306b\u7d50\u679c\u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u51e6\u7406<\/b>\u306e\u3053\u3068\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001A + B\u306e\u8a08\u7b97\u7d50\u679c\u3001\u6761\u4ef6\u306b\u4e00\u81f4\u3057\u305f\u3068\u304d\u306e\u6587\u5b57\u5217\u3001\u30a8\u30e9\u30fc\u7d50\u679c\u306a\u3069\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>VBA\u3084Excel\u3067\u3082\u3068\u3082\u3068\u4f5c\u3089\u308c\u3066\u3044\u308b\u95a2\u6570\u3084\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u95a2\u6570\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u51e6\u7406\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4f7f\u3044\u3053\u306a\u3059\u3068VBA\u306e\u30c4\u30fc\u30eb\u304c\u4f5c\u308a\u3084\u3059\u304f\u306a\u308b\u305f\u3081\u3001\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3066\u304a\u304f\u3068\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\uff01<\/p>\n<h2>VBA\u306e\u95a2\u6570\u306e\u7a2e\u985e<\/h2>\n<p>\u6b21\u306b\u3001VBA\u306e\u95a2\u6570\u306e\u7a2e\u985e\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>VBA\u3067\u4f7f\u3048\u308b\u95a2\u6570\u306f\u3001\u5927\u304d\u304f\u5206\u3051\u3066\u4ee5\u4e0b\u306e3\u3064\u306e\u30bf\u30a4\u30d7\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><div class=\"box01\"><br \/>\n<b>\u25a0VBA\u306e\u95a2\u6570\u306e\u7a2e\u985e<\/b><\/p>\n<ul>\n<li>VBA\u95a2\u6570<\/li>\n<li>\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570<\/li>\n<li>Function\u95a2\u6570<\/li>\n<\/ul>\n<\/div>\n<p>\u305d\u308c\u305e\u308c\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u306d\u3002<\/p>\n<h3>VBA\u95a2\u6570<\/h3>\n<p>1\u3064\u76ee\u306f\u3001VBA\u95a2\u6570\u3067\u3059\u3002<\/p>\n<p>VBA\u3092\u66f8\u304f\u3068\u304d\u306b\u6700\u521d\u304b\u3089\u4f7f\u3048\u308b\u95a2\u6570\u3067\u3001\u51e6\u7406\u3092\u7c21\u5358\u306b\u4f5c\u308b\u305f\u3081\u306e\u4fbf\u5229\u6a5f\u80fd\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u91d1\u984d\u306e\u8a08\u7b97\u3092\u3059\u308b\u5834\u5408\u3001\u6570\u5024\u306e\u5207\u308a\u4e0a\u3052\u30fb\u5207\u308a\u6368\u3066\u306e\u6307\u5b9a\u306f\u91cd\u8981\u3067\u3059\u3088\u306d\u3002VBA\u306b\u6700\u521d\u304b\u3089\u3042\u308bRoundUp(\u5207\u308a\u4e0a\u3052)\u3001RoundDown(\u5207\u308a\u6368\u3066)\u3092\u4f7f\u3046\u3053\u3068\u3067\u7c21\u5358\u306b\u5207\u308a\u4e0a\u3052\u30fb\u5207\u308a\u6368\u3066\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u30921\u304b\u3089\u8a08\u7b97\u5f0f\u3092\u4f5c\u3063\u3066\u4f5c\u308d\u3046\u3068\u3059\u308b\u3068\u3001\u4f5c\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u6b63\u3057\u304f\u8a08\u7b97\u3055\u308c\u308b\u304b\u30c6\u30b9\u30c8\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3088\u306d\u3002VBA\u3067\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u4fbf\u5229\u306a\u95a2\u6570\u304c\u6700\u521d\u304b\u3089\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u300c\u8a08\u7b97\u5f0f\u3092\u4f5c\u308d\u3046\u300d\u3068\u601d\u3063\u305f\u3068\u304d\u306f\u3001\u65e2\u306b\u95a2\u6570\u304c\u306a\u3044\u304b\u8abf\u3079\u3066\u304b\u3089\u4f5c\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<h3>\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570<\/h3>\n<p>2\u3064\u76ee\u306f\u3001\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u3067\u3059\u3002<\/p>\n<p>\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u3068\u306f\u3001Excel\u306e\u30bb\u30eb\u3067\u4f7f\u3048\u308b\u95a2\u6570\u306e\u3053\u3068\u3067\u3059\u3002Sum\u3001If\u3001Count\u3001SumIf\u3001Vlookup\u306a\u3069\u3001Excel\u3067\u4fbf\u5229\u306a\u95a2\u6570\u306f\u591a\u3044\u3067\u3059\u3088\u306d\u3002VBA\u3067\u306f\u3001Excel\u3067\u4f7f\u3048\u308b\u95a2\u6570\u3092\u8a08\u7b97\u306b\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>WorksheetFunction.\u95a2\u6570\u540d\u306e\u3088\u3046\u306b\u66f8\u304f\u3053\u3068\u3067\u3001Excel\u306e\u30bb\u30eb\u3068\u540c\u3058\u3088\u3046\u306b\u95a2\u6570\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u3053\u308c\u3060\u3051\u898b\u3066\u3082\u4f7f\u3044\u65b9\u306e\u30a4\u30e1\u30fc\u30b8\u304c\u6e67\u304b\u306a\u3044\u65b9\u3082\u3044\u308b\u3068\u3082\u3046\u306e\u3067\u3001<b>Vlookup\u3001CountIf\u306e\u66f8\u304d\u65b9<\/b>\u3092\u307e\u3068\u3081\u305f\u8a18\u4e8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u3092\u898b\u3064\u3064\u3001\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/29654\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n            <a href=\"https:\/\/www.sejuku.net\/blog\/66704\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/07\/vba_eyecatch-150x86.png\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010ExcelVBA\u5165\u9580\u3011\u6761\u4ef6\u306b\u4e00\u81f4\u3057\u305f\u30bb\u30eb\u6570\u3092\u6570\u3048\u308bCountIf\u306e\u4f7f\u3044\u65b9\u3068\u306f<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>Function\u95a2\u6570<\/h3>\n<p>3\u3064\u76ee\u306f\u3001Function\u95a2\u6570\u3067\u3059\u3002<\/p>\n<p>VBA\u95a2\u6570\u3001\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u306f\u65e2\u5b58\u306e\u95a2\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3057\u305f\u304c\u3001Function\u95a2\u6570\u306f\u81ea\u4f5c\u3059\u308b\u95a2\u6570\u3067\u3059\u3002Sub\u3068\u540c\u3058\u3088\u3046\u306a\u611f\u899a\u3067\u3001\u95a2\u6570\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><b>Sub\u3068\u306e\u5927\u304d\u306a\u9055\u3044\u306f\u3001\u7d50\u679c\u3092\u8fd4\u305b\u308b\u3053\u3068<\/b>\u3067\u3059\u3002A + B\u306e\u7d50\u679c\u3001\u6761\u4ef6\u306b\u4e00\u81f4\u3057\u305f\u6587\u5b57\u5217\u3001\u30a8\u30e9\u30fc\u7d50\u679c\u306a\u3069\u3092\u8fd4\u305b\u308b\u3088\u3046\u306b\u306a\u308b\u305f\u3081\u3001\u958b\u767a\u304c\u697d\u306b\u306a\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u958b\u767a\u5f8c\u306e\u4fee\u6b63\u3082\u3057\u3084\u3059\u304f\u306a\u308b\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n<p>\u6b21\u7ae0\u3067\u3001Function\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u30fb\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8a73\u3057\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>VBA\u306eFunction\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u30fb\u5b9f\u884c\u65b9\u6cd5<\/h2>\n<p>\u6b21\u306b\u3001Function\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u30fb\u5b9f\u884c\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u306d\u3002<\/p>\n<p>\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3059\u308b\u305f\u3081\u306b\u3001Sub\u306e\u4f5c\u308a\u65b9\u3068\u6bd4\u8f03\u3057\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002 <\/p>\n<p>Sub\u306e\u4f5c\u308a\u65b9\uff1a<\/p>\n<pre class=\"lang:vb decode:true \" >Sub \u30de\u30af\u30ed\u540d(\u5f15\u6570)\r\n\r\n    '\u3053\u3053\u306b\u30de\u30af\u30ed\u5b9f\u884c\u6642\u306e\u51e6\u7406\u3092\u66f8\u304f\r\n\r\nEnd Sub<\/pre>\n<p>Sub\u306e\u30b5\u30f3\u30d7\u30eb\uff1a<\/p>\n<pre class=\"lang:vb decode:true \" >Sub \u30b5\u30d6\u306e\u30de\u30af\u30ed\u30b5\u30f3\u30d7\u30eb()\r\n\r\n    '\u8a08\u7b97\u7528\u306e\u5909\u6570\u7528\u610f\r\n    Dim totalNum_Man As Integer\r\n    Dim totalNum_Woman As Integer\r\n    Dim scoreMan1 As Integer         '\u7537\u5b50\u751f\u5f921\u306e\u70b9\u6570\r\n    Dim scoreMan2 As Integer         '\u7537\u5b50\u751f\u5f922\u306e\u70b9\u6570\r\n    Dim scoreMan3 As Integer         '\u7537\u5b50\u751f\u5f923\u306e\u70b9\u6570\r\n    Dim scoreWoman1 As Integer       '\u5973\u5b50\u751f\u5f921\u306e\u70b9\u6570\r\n    Dim scoreWoman2 As Integer       '\u5973\u5b50\u751f\u5f922\u306e\u70b9\u6570\r\n    Dim scoreWoman3 As Integer       '\u5973\u5b50\u751f\u5f923\u306e\u70b9\u6570\r\n    Dim scoreWoman4 As Integer       '\u5973\u5b50\u751f\u5f924\u306e\u70b9\u6570\r\n    Dim scoreAvgMan As Integer       '\u7537\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\r\n    Dim scoreAvgWoman As Integer     '\u5973\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\r\n    \r\n    '\u751f\u5f92\u306e\u70b9\u6570\r\n    scoreMan1 = 60\r\n    scoreMan2 = 76\r\n    scoreMan3 = 34\r\n    scoreWoman1 = 80\r\n    scoreWoman2 = 88\r\n    scoreWoman3 = 76\r\n    scoreWoman4 = 92\r\n    \r\n    '\u5e73\u5747\u70b9\u6570\u8a08\u7b97\r\n    scoreAvgMan = (scoreMan1 + scoreMan2 + scoreMan3) \/ 3\r\n    scoreAvgWoman = (scoreWoman1 + scoreWoman2 + scoreWoman3 + scoreWoman4) \/ 3\r\n    \r\n    '\u8a08\u7b97\u7d50\u679c\u3092\u8868\u793a\r\n    \r\n    MsgBox &quot;\u7537\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\uff1a&quot; &amp; scoreAvgMan &amp; vbCrLf &amp; _\r\n                &quot;\u5973\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\uff1a&quot; &amp; scoreAvgWoman\r\n\r\nEnd Sub<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/14.png\" alt=\"\" width=\"220\" height=\"205\" class=\"alignnone size-full wp-image-89947\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/14.png 220w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/14-150x140.png 150w\" sizes=\"(max-width: 220px) 100vw, 220px\" \/><br \/>\n<div class=\"img-caption\">\u30b5\u30f3\u30d7\u30eb\u306e\u5b9f\u884c\u7d50\u679c<\/div><\/p>\n<p>\u7537\u5b50\u751f\u5f92\u3001\u5973\u5b50\u751f\u5f92\u306e\u70b9\u6570\u3092\u305d\u308c\u305e\u308c\u5909\u6570\u306b\u683c\u7d0d\u3057\u3001\u5e73\u5747\u70b9\u6570\u3092\u8a08\u7b97\u3057\u305f\u7d50\u679c\u3092\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002\u305f\u3060\u3001\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u306f1\u3064\u8aa4\u308a\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \" >scoreAvgWoman = (scoreWoman1 + scoreWoman2 + scoreWoman3 + scoreWoman4) \/ 3<\/pre>\n<p>\u4ee5\u4e0b\u5973\u5b50\u751f\u5f92\u306e\u5e73\u5747\u3092\u8a08\u7b97\u3059\u308b\u51e6\u7406\u3092\u30013\u3067\u5272\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u3002\u7537\u5b50\u751f\u5f92\u306e\u4eba\u6570\u304c3\u4eba\u3060\u3063\u305f\u305f\u3081\u3001\u305d\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3066\u30ab\u30c3\u30b3\u306e\u4eba\u6570\u3060\u3051\u8ffd\u52a0\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u3053\u306e\u3088\u3046\u306b\u30df\u30b9\u304c\u8d77\u3053\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u7d9a\u3051\u3066\u3001Function\u306b\u3057\u305f\u5834\u5408\u306e\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Function\u306e\u4f5c\u308a\u65b9\uff1a<\/p>\n<pre class=\"lang:vb decode:true \" >Function \u95a2\u6570\u540d(\u5f15\u6570) as \u7d50\u679c\u3092\u8fd4\u3059\u5024\u306e\u578b\u540d\r\n\r\nEnd Function<\/pre>\n<p>Sub\u3068\u6bd4\u8f03\u3059\u308b\u3068\u3001\u95a2\u6570\u540d\u306e\u5f8c\u308d\u306b\u300c<b>as \u7d50\u679c\u3092\u8fd4\u3059\u5024\u306e\u578b\u540d<\/b>\u300d\u3092\u5165\u308c\u3066\u3044\u308b\u306e\u304c\u7279\u5fb4\u3067\u3059\u306d\u3002\u3055\u304d\u307b\u3069\u306e\u30b5\u30f3\u30d7\u30eb\u3092Function\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Function\u306e\u30b5\u30f3\u30d7\u30eb\uff1a<\/p>\n<pre class=\"lang:vb decode:true \" >'\u5e73\u5747\u70b9\u6570\u306e\u7d50\u679c\u3092\u30e1\u30c3\u30bb\u30fc\u30b8\u8868\u793a\u3059\u308b\u51e6\u7406\r\nSub \u30de\u30af\u30ed\u30b5\u30f3\u30d7\u30eb()\r\n\r\n    '\u8a08\u7b97\u7528\u306e\u5909\u6570\u7528\u610f\r\n    Dim totalNum_Man As Integer\r\n    Dim totalNum_Woman As Integer\r\n    Dim scoreListMan(1 To 3) As Integer       '\u7537\u5b50\u751f\u5f92\u306e\u70b9\u6570\u30ea\u30b9\u30c8\r\n    Dim scoreListWoman(1 To 4) As Integer     '\u5973\u5b50\u751f\u5f92\u306e\u70b9\u6570\u30ea\u30b9\u30c8\r\n    Dim scoreAvgMan As Integer                '\u7537\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\r\n    Dim scoreAvgWoman As Integer              '\u5973\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\r\n    \r\n    '\u751f\u5f92\u306e\u70b9\u6570\r\n    scoreListMan(1) = 60\r\n    scoreListMan(2) = 76\r\n    scoreListMan(3) = 34\r\n    scoreListWoman(1) = 80\r\n    scoreListWoman(2) = 88\r\n    scoreListWoman(3) = 76\r\n    scoreListWoman(4) = 92\r\n    \r\n    '\u5e73\u5747\u70b9\u6570\u8a08\u7b97\r\n    scoreAvgMan = calcAvgScore(scoreListMan)\r\n    scoreAvgWoman = calcAvgScore(scoreListWoman)\r\n    \r\n    '\u8a08\u7b97\u7d50\u679c\u3092\u8868\u793a\r\n    MsgBox &quot;\u7537\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\uff1a&quot; &amp; scoreAvgMan &amp; vbCrLf &amp; _\r\n                &quot;\u5973\u5b50\u751f\u5f92\u306e\u5e73\u5747\u70b9\u6570\uff1a&quot; &amp; scoreAvgWoman\r\n\r\nEnd Sub\r\n\r\n'\u751f\u5f92\u306e\u6570\u5206\u70b9\u6570\u3092\u307e\u3068\u3081\u305f\u914d\u5217\u3092\u5f15\u6570\u306b\u6e21\u3057\u3001\u5e73\u5747\u5024\u3092\u8a08\u7b97\u3059\u308b\u51e6\u7406\r\nFunction calcAvgScore(ScoreList() As Integer) As Integer\r\n    '\u30b9\u30b3\u30a2\u306e\u6570\u3092\u8a08\u7b97\r\n    Dim scoreNum As Integer  '\u30b9\u30b3\u30a2\u306e\u6570\r\n    scoreNum = UBound(ScoreList)\r\n    \r\n    '\u5408\u8a08\u5024\u3092\u8a08\u7b97\r\n    Dim totalScore As Integer: totalScore = 0 '\u5408\u8a08\u5024\r\n    Dim i As Integer\r\n    For i = 1 To scoreNum\r\n        totalScore = totalScore + ScoreList(i)\r\n    Next i\r\n    \r\n    '\u5e73\u5747\u70b9\u6570(\u5408\u8a08\u5024 \u00f7 \u30b9\u30b3\u30a2\u4eba\u6570)\u3092\u623b\u308a\u5024\u306b\u8a2d\u5b9a\r\n    calcAvgScore = totalScore \/ scoreNum\r\nEnd Function<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/22.png\" alt=\"\" width=\"212\" height=\"205\" class=\"alignnone size-full wp-image-89949\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/22.png 212w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/22-150x145.png 150w\" sizes=\"(max-width: 212px) 100vw, 212px\" \/><br \/>\n<div class=\"img-caption\">\u30b5\u30f3\u30d7\u30eb\u306e\u5b9f\u884c\u7d50\u679c<\/div><\/p>\n<p>\u5e73\u5747\u70b9\u6570\u3092\u8a08\u7b97\u3057\u305f\u7d50\u679c\u3092\u8fd4\u3059Function\u95a2\u6570\u300ccalcAvgScore\u300d\u3092\u7528\u610f\u3057\u3001\u8a08\u7b97\u306b\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u30b9\u30b3\u30a2\u7528\u306b\u4f5c\u6210\u3057\u305f\u914d\u5217\u306e\u6570\u3092\u5408\u8a08\u4eba\u6570\u3068\u3057\u3066\u8a08\u7b97\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u5408\u8a08\u4eba\u6570\u3092\u9593\u9055\u3048\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u304c\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>Function\u95a2\u6570\u3092\u4f7f\u3063\u3066\u3044\u308b\u30b5\u30f3\u30d7\u30eb\u30de\u30af\u30ed2\u3082\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a08\u7b97\u3092\u66f8\u304f\u30b3\u30fc\u30c9\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \" >'\u5e73\u5747\u70b9\u6570\u8a08\u7b97\r\nscoreAvgMan = calcAvgScore(scoreListMan)\r\nscoreAvgWoman = calcAvgScore(scoreListWoman)<\/pre>\n<p>\u8a08\u7b97\u30df\u30b9\u3092\u6e1b\u3089\u3059\u3060\u3051\u3067\u306a\u304f\u30e1\u30a4\u30f3\u306e\u51e6\u7406\u3082\u30b7\u30f3\u30d7\u30eb\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3066\u304a\u304f\u3068\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<h2>VBA\u306eFunction\u95a2\u6570\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u30fb\u5177\u4f53\u7684\u306a\u7528\u9014\u3068\u306f\uff1f<\/h2>\n<p>\u6b21\u306b\u3001Function\u95a2\u6570\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u30fb\u5177\u4f53\u7684\u306a\u7528\u9014\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h3>\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3059\u3068\u304d<\/h3>\n<p>1\u3064\u76ee\u306f\u3001\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3059\u3068\u304d\u3067\u3059\u3002<\/p>\n<p>\u5148\u307b\u3069\u30b5\u30f3\u30d7\u30eb\u3067\u89e3\u8aac\u3057\u305f\u3088\u3046\u306b\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u6b21\u306e\u3088\u3046\u306a\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><div class=\"box01\"><br \/>\n<b>\u25a0\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3059\u3053\u3068\u306b\u3088\u308b\u30e1\u30ea\u30c3\u30c8<\/b><\/p>\n<ul>\n<li>\u8a08\u7b97\u65b9\u6cd5\u3092\u624b\u5165\u529b\u3059\u308b\u3068\u304d\u306b\u6bd4\u3079\u3066\u30df\u30b9\u304c\u6e1b\u308b<\/li>\n<li>\u8a08\u7b97\u3059\u308b\u30e1\u30a4\u30f3\u306e\u51e6\u7406\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308b<\/li>\n<li>\u8a08\u7b97\u5f0f\u304c\u5909\u308f\u3063\u305f\u5834\u5408\u3082\u3001Function\u95a2\u6570\u306e\u4fee\u6b63\u3060\u3051\u3067\u6e08\u3080<\/li>\n<\/ul>\n<\/div>\n<p>\u6700\u5f8c\u306e\u30e1\u30ea\u30c3\u30c8\u3060\u3051\u4eca\u307e\u3067\u89e3\u8aac\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u5c11\u3057\u88dc\u8db3\u3057\u307e\u3059\u306d\u3002Sub\u306e\u307f\u3067\u51e6\u7406\u3092\u66f8\u3044\u3066\u3044\u305f\u5834\u5408\u3001\u8a08\u7b97\u5f0f\u304c\u5909\u308f\u3063\u305f\u6642\u306b\u300c\u8a08\u7b97\u5f0f\u4ee5\u5916\u306e\u51e6\u7406\u300d\u3092\u9593\u9055\u3048\u3066\u76f4\u3057\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4fee\u6b63\u3057\u3066\u3044\u308b\u6700\u4e2d\u306b\u3001\u4ed6\u306e\u51e6\u7406\u306e\u9593\u9055\u3044\u3092\u898b\u3064\u3051\u3066\u76f4\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u3084\u3001\u4fee\u6b63\u4e2d\u306b\u8aa4\u3063\u3066\u76f4\u3057\u305f\u3053\u3068\u306b\u6c17\u3065\u304b\u306a\u3044\u30b1\u30fc\u30b9\u306f\u3088\u304f\u3042\u308a\u307e\u3059\u3002\u4fee\u6b63\u3057\u305f\u7d50\u679c\u826f\u304f\u306a\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u30d0\u30b0\u306e\u539f\u56e0\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3068\u304d\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Function\u95a2\u6570\u306b\u308f\u3051\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u8aa4\u3063\u3066\u4ed6\u306e\u51e6\u7406\u3092\u66f8\u304d\u63db\u3048\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u304c\u6e1b\u308a\u307e\u3059\u3088\u306d\u3002\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u3082\u3001Function\u95a2\u6570\u306f\u3068\u3066\u3082\u304a\u3059\u3059\u3081\u306a\u306e\u3067\u3059\u3002<\/p>\n<h3>\u30a8\u30e9\u30fc\u7d50\u679c\u3092\u8fd4\u3059\u3068\u304d<\/h3>\n<p>2\u3064\u76ee\u306f\u3001\u30a8\u30e9\u30fc\u7d50\u679c\u3092\u8fd4\u3059\u3068\u304d\u3067\u3059\u3002<\/p>\n<p>\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3059\u3060\u3051\u3067\u306a\u304f\u3001\u51e6\u7406\u306e\u30a8\u30e9\u30fc\u306e\u6709\u7121\u3092\u78ba\u8a8d\u3059\u308b\u76ee\u7684\u3067\u7d50\u679c\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30a8\u30e9\u30fc\u60c5\u5831\u304c\u6587\u5b57\u5217\u304c\u8fd4\u3063\u3066\u304d\u305f\u3068\u304d\u3060\u3051\u3001\u30a8\u30e9\u30fc\u51e6\u7406\u3092\u5165\u308c\u308b\u3088\u3046\u306a\u51e6\u7406\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u3092\u8fd4\u3059\u4f8b\u306f\u8a00\u8449\u3060\u3051\u3067\u306f\u308f\u304b\u308a\u306b\u304f\u3044\u306e\u3067\u3001\u4f8b\u3092\u7c21\u5358\u306b\u89e3\u8aac\u3057\u307e\u3059\u306d\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:vb decode:true \" >Sub \u30e1\u30a4\u30f3\u51e6\u7406()\r\n\r\n    Dim resultMessage As String\r\n    resultMessage = Func1\r\n    If resultMessage &lt;&gt; &quot;&quot; Then\r\n        MsgBox &quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002&quot; &amp; vbCrLf &amp; _\r\n               &quot;\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u306b\u4ee5\u4e0b\u554f\u3044\u5408\u308f\u305b\u3066\u304f\u3060\u3055\u3044\u3002&quot; &amp; vbCrLf &amp; _\r\n               &quot;------------------------------------------------------------&quot; &amp; vbCrLf &amp; _\r\n               Func1 &amp; vbCrLf &amp; _\r\n               &quot;------------------------------------------------------------&quot;, vbCritical\r\n    End If\r\n\r\nEnd Sub\r\n\r\n'\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc\u60c5\u5831\u3092\u8fd4\u3059\u95a2\u6570\u306e\u4f8b\r\nFunction Func1() As String\r\nOn Error GoTo Func1_Err\r\n    Func1 = &quot;&quot;\r\n    \r\n    Dim intA As Integer\r\n    intA = 100000000\r\n    \r\n    Exit Function\r\n    \r\nFunc1_Err:\r\n    Func1 = &quot;\u30a8\u30e9\u30fc\u5834\u6240\uff1aModule1.Func1&quot; &amp; vbCrLf &amp; _\r\n            &quot;\u30a8\u30e9\u30fc\u756a\u53f7\uff1a&quot; &amp; Err.Number &amp; vbCrLf &amp; _\r\n            &quot;\u30a8\u30e9\u30fc\u8a73\u7d30\uff1a&quot; &amp; Err.Description\r\n\r\nEnd Function<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/32.png\" alt=\"\" width=\"482\" height=\"300\" class=\"alignnone size-full wp-image-89950\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/32.png 482w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/32-150x93.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2019\/03\/32-300x187.png 300w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><br \/>\n<div class=\"img-caption\">\u30b5\u30f3\u30d7\u30eb\u306e\u5b9f\u884c\u7d50\u679c<\/div><\/p>\n<p>Function\u95a2\u6570\u300cFunc1\u300d\u306e\u51e6\u7406\u3067\u3001<b>Integer\u578b\u306e\u5909\u6570\u306b\u6841\u3042\u3075\u308c<\/b>\u304c\u8d77\u3053\u308b\u6570\u5024\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3001\u610f\u56f3\u7684\u306b\u30a8\u30e9\u30fc\u3092\u767a\u751f\u3055\u305b\u3066\u3044\u307e\u3059\u3002on Error Goto\u6587\u3092\u4f7f\u3044\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc\u5834\u6240(\u30e2\u30b8\u30e5\u30fc\u30eb\u540d + \u95a2\u6570\u540d)\u3001\u30a8\u30e9\u30fc\u756a\u53f7\u3001\u30a8\u30e9\u30fc\u8a73\u7d30\u3092\u6587\u5b57\u5217\u3067\u8fd4\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u308a\u3001\u30e1\u30a4\u30f3\u51e6\u7406\u3067\u623b\u308a\u5024\u304c\u7a7a\u767d\u3067\u306a\u3044\u3068\u304d\u3060\u3051\u30a8\u30e9\u30fc\u51e6\u7406\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u305f\u7b87\u6240\u3001\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u306a\u3069\u304c\u308f\u304b\u308a\u3084\u3059\u304f\u306a\u308b\u306e\u3067\u3001\u95a2\u6570\u3092\u4f5c\u308b\u3068\u304d\u306f\u3053\u306e\u65b9\u6cd5\u304c\u304a\u3059\u3059\u3081\u3067\u3059\uff01<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u30a8\u30e9\u30fc\u51e6\u7406\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u6c17\u306b\u306a\u308b\u65b9\u306f\u898b\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/35484\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/vba_error-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010VBA\u5165\u9580\u3011\u30a8\u30e9\u30fc\u3092\u51e6\u7406\u3059\u308b\u65b9\u6cd5(On Error\u3001Resume\u3001GoTo)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306f\u3001VBA\u306e\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>VBA\u306e\u95a2\u6570\u306e\u7a2e\u985e\u3092\u899a\u3048\u308b\u3060\u3051\u3067\u306a\u304f\u3001Function\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u3084\u30e1\u30ea\u30c3\u30c8\u3092\u899a\u3048\u3066\u304a\u304f\u3068\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\uff01<\/p>\n<p>\u305c\u3072\u3001\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VBA\u306e\u51e6\u7406\u306f\u4f5c\u3063\u305f\u3053\u3068\u3042\u308b\u3051\u3069\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u304c\u308f\u304b\u3089\u306a\u3044\u30fb\u30fb\u30fb \u95a2\u6570\u306e\u7a2e\u985e\u3084\u3001\u5177\u4f53\u7684\u306a\u30aa\u30ea\u30b8\u30ca\u30eb\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u3092\u77e5\u308a\u305f\u3044\u306a\u30fb\u30fb\u30fb \u30de\u30af\u30ed\u306e\u8a18\u9332\u3084\u7c21\u5358\u306aSub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u4f5c\u3063\u3066VBA\u3092\u66f8\u3044\u305f\u3053\u3068\u304c\u3042\u308b\u4eba\u306f\u591a\u3044\u3067\u3059\u304c\u3001\u95a2 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":75774,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2339],"tags":[],"class_list":["post-89941","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vba-start"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/89941\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/89941\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-28T15:38:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:54:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01\",\"datePublished\":\"2019-03-28T15:38:36+00:00\",\"dateModified\":\"2024-05-06T02:54:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941\"},\"wordCount\":158,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"articleSection\":[\"VBA\u5165\u9580\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941\",\"name\":\"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"datePublished\":\"2019-03-28T15:38:36+00:00\",\"dateModified\":\"2024-05-06T02:54:58+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/89941#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/89941","og_locale":"ja_JP","og_type":"article","og_title":"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/89941","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2019-03-28T15:38:36+00:00","article_modified_time":"2024-05-06T02:54:58+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/89941#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/89941"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01","datePublished":"2019-03-28T15:38:36+00:00","dateModified":"2024-05-06T02:54:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/89941"},"wordCount":158,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/89941#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","articleSection":["VBA\u5165\u9580"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/89941","url":"https:\/\/www.sejuku.net\/blog\/89941","name":"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/89941#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/89941#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","datePublished":"2019-03-28T15:38:36+00:00","dateModified":"2024-05-06T02:54:58+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/89941#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/89941"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/89941#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/89941#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"VBA\u306e\u95a2\u6570\u3068\u306f\uff1f\u95a2\u6570\u306e\u7a2e\u985e\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f5c\u308a\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/89941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=89941"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/89941\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/75774"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=89941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=89941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=89941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}