{"id":1766,"date":"2021-04-03T14:47:33","date_gmt":"2021-04-03T05:47:33","guid":{"rendered":"https:\/\/euc-access-excel-db.com\/tips\/?p=1766"},"modified":"2023-12-04T23:01:16","modified_gmt":"2023-12-04T14:01:16","slug":"mag2-01-33","status":"publish","type":"post","link":"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/mag2-01-33","title":{"rendered":"\u2605\u72ec\u5b66\u8005\u304c1\u5e74\u5f8c\u306bExcelVBA\u3092\u7206\u767a\u7684\u306b\u4f38\u3070\u3059\u305f\u3081\u306e\u6700\u4f4e\u9650\u306e\u57fa\u790e\u77e5\u8b58\u30e1\u30e2\uff08\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\uff09\uff1aVol0033:\u3064\u3044\u3067\u306b\u3001\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u300c\u4e00\u822c\u7684\u306b\u3001\u666e\u901a\u306b\u4f7f\u3046\u4f7f\u3044\u65b9\u300d\u3082\u5c11\u3057-16\u3002\u2605\u300c\u8b1d\u7f6a\u300d\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3001\u30bb\u30eb\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u300c\u76f4\u63a5\u300d\u8abf\u3079\u308b\u65b9\u6cd5\uff08\u8d85\u30de\u30cc\u30b1\u3060\u3063\u305f\u50d5\uff09\u3068\u3001Yahoo\u77e5\u6075\u888b\u3067700\u95b2\u89a7\u3092\u3057\u3066\u9802\u3044\u305f\u56de\u7b54\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u2605\u72ec\u5b66\u8005\u304c1\u5e74\u5f8c\u306bExcelVBA\u3092\u7206\u767a\u7684\u306b\u4f38\u3070\u3059\u305f\u3081\u306e\u6700\u4f4e\u9650\u306e\u57fa\u790e\u77e5\u8b58\u30e1\u30e2\uff08\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\uff09\uff1aVol0033:\u3064\u3044\u3067\u306b\u3001\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u300c\u4e00\u822c\u7684\u306b\u3001\u666e\u901a\u306b\u4f7f\u3046\u4f7f\u3044\u65b9\u300d\u3082\u5c11\u3057-16\u3002\u2605\u300c\u8b1d\u7f6a\u300d\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3001\u30bb\u30eb\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u300c\u76f4\u63a5\u300d\u8abf\u3079\u308b\u65b9\u6cd5\uff08\u8d85\u30de\u30cc\u30b1\u3060\u3063\u305f\u50d5\uff09\u3068\u3001Yahoo\u77e5\u6075\u888b\u3067700\u95b2\u89a7\u3092\u3057\u3066\u9802\u3044\u305f\u56de\u7b54\u306b\u3064\u3044\u3066<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n\u30d0\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u76ee\u6b21\u30da\u30fc\u30b8\u306f\u2192<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/mag2-01\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u3067\u3059\u3002<\/p>\n<p>\u307e\u3050\u307e\u3050\u306e\u30da\u30fc\u30b8\u306f\u4ee5\u4e0b\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/www.mag2.com\/m\/0001691660.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.mag2.com\/m\/0001691660.html<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501<br \/>\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501<br \/>\n \u25a0\u72ec\u5b66\u8005\u304c1\u5e74\u5f8c\u306bExcelVBA\u3092\u7206\u767a\u7684\u306b\u4e0a\u9054\u3055\u305b\u308b\u305f\u3081\u306e\u6700\u4f4e\u9650\u306e\u57fa\u790e\u77e5\u8b58\u30e1\u30e2\uff08\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\uff09<\/p>\n<p>Vol.0033<\/p>\n<p>\u30bf\u30a4\u30c8\u30eb\uff1a\u3064\u3044\u3067\u306b\u3001\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u300c\u4e00\u822c\u7684\u306b\u3001\u666e\u901a\u306b\u4f7f\u3046\u4f7f\u3044\u65b9\u300d\u3082\u5c11\u3057-16\u3002<\/p>\n<p>\u2605 \u300c\u8b1d\u7f6a\u300d\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3001\u30bb\u30eb\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u300c\u76f4\u63a5\u300d\u8abf\u3079\u308b\u65b9\u6cd5\uff08\u8d85\u30de\u30cc\u30b1\u3060\u3063\u305f\u50d5\uff09\u3068\u3001Yahoo\u77e5\u6075\u888b\u3067700\u95b2\u89a7\u3092\u3057\u3066\u9802\u3044\u305f\u56de\u7b54\u306b\u3064\u3044\u3066<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u30d0\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u76ee\u6b21\u3068\u30b5\u30f3\u30d7\u30eb\u53f7<br \/>\n<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/mag2-01\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/mag2-01<\/a><\/p>\n<p>\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501<br \/>\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u4eca\u56de\u306f\u5927\u5909\u91cd\u8981\u306a\u3053\u3068\uff08\u8d85\u30de\u30cc\u30b1\u306a\u50d5\u306e\u3053\u3068\uff09\u3092\u300c\u66f8\u304d\u5fd8\u308c\u3066\u3044\u305f\u300d\u306e\u3067\u305d\u306e\u3053\u3068\u3092\u66f8\u304b\u305b\u3066\u9802\u304d\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u3001\u3061\u3087\u3063\u3068\u524d\u306b\u3001Yahoo\u77e5\u6075\u888b\u3067\u3042\u308b\u8cea\u554f\u306b\u56de\u7b54\u3092\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u8cea\u554f\u304c\u3001\u305d\u306e\u30ab\u30c6\u30b4\u30ea\u306b\u306f\u73cd\u3057\u304f\u300c700\u95b2\u89a7\u300d\u3057\u3066\u3082\u3089\u3048\u305f\u306e\u3067\u4e00\u5fdc\u305d\u306e\u3053\u3068\u306b\u3064\u3044\u3066\u3082\u304a\u77e5\u3089\u305b\u3068\u88dc\u8db3\u3092\u3055\u305b\u3066\u9802\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u307e\u305a\u3001\uff11\u3064\u3081\u306e\u4ef6\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u3001\u4ee5\u524d\u306e\u53f7\u3067\u3001<br \/>\n\u300c\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u306f\u3001\u30bb\u30eb\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\uff08\u756a\u5730\uff09\u3092\u76f4\u63a5\u306f\u78ba\u8a8d\u3067\u304d\u306a\u3044\u300d<br \/>\n\u3068\u66f8\u3044\u3066\u3057\u307e\u3063\u305f\u3053\u3068\u306b\u5bfe\u3059\u308b\u8a02\u6b63\u3067\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u307b\u3093\u3063\u3068\u3046\u306b\u3054\u3081\u3093\u306a\u3055\u3044\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u5927\u30a6\u30bd\u3067\u3057\u305f\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u300c\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3042\u3063\u3066\u3082\u3001<\/p>\n<p>\u300c\u30bb\u30eb\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\uff08\u756a\u5730\uff09\u3092\u76f4\u63a5\u30fb\u78ba\u8a8d\u3059\u308b\u300d<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u50d5\u304c\u8a00\u3044\u305f\u304b\u3063\u305f\u306e\u306f\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u30bb\u30eb\u7bc4\u56f2\u3068\u3057\u3066\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u306e\u300c\uff0b\u300d\u30de\u30fc\u30af\u3092\u5c55\u958b\u3057\u305f\u306a\u304b\u306b\u304a\u3044\u3066\u306f\u3001\u300c\u78ba\u8a8d\u3067\u304d\u306a\u3044\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u305f\u304c\u3001<br \/>\n\u3067\u3082\u3001\u305d\u306e\u300c\uff0b\u300d\u30de\u30fc\u30af\u306e\u5c55\u958b\u5f8c\u306e\u90e8\u5206\u3068\u306f\u300c\u307e\u3063\u305f\u304f\u5225\u500b\u306b\u300d\u3001\u4f8b\u3048\u3070\u30fb\u30fb\u30fb\u30fb\u3001<\/p>\n<p>\u300cActivesheet.UsedRange.Address\u300d<\/p>\n<p>\u30fb\u30fb\u30fb\u3068\u3044\u3046\u5f0f\u3092\u8ffd\u52a0\u3059\u308c\u3070\u3001<\/p>\n<p>\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u3001<\/p>\n<p>\u300c\u30bb\u30eb\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\uff08\u756a\u5730\uff09\u3092\u76f4\u63a5\u3001\u78ba\u8a8d\u3067\u304d\u308b\u300d<\/p>\n<p>\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3068\u3044\u3046\u304b\u3001\u5206\u304b\u3063\u3066\u305f\u306e\u306b\u3067\u304d\u306a\u3044\u3068\u52d8\u9055\u3044\u3057\u3066\u3044\u3066\u3001\u304a\u8a71\u3057\u3059\u308b\u306e\u3092\u5fd8\u308c\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u672c\u5f53\u306b\u300c\u30d0\u30ab\u300d\u3059\u304e\u3066\u3001\u300c\u80fd\u7121\u3057\u300d\u3067\u3059\u307f\u307e\u305b\u3093\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u4ed6\u306e\u8b1b\u5e2b\u3055\u3093\u305f\u3061\u3092\u6279\u5224\u3057\u3066\u304a\u304d\u306a\u304c\u3089\u3001\u81ea\u5206\u306f\u300c\u672c\u5f53\u306b\u300d\u300c\u3082\u3063\u3068\u30d0\u30ab\u300d\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3053\u3093\u306a\u50d5\u306e\u30e1\u30eb\u30de\u30ac\u3092\u8aad\u3093\u3067\u304f\u3060\u3055\u3063\u3066\u672c\u5f53\u306b\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u30fb\u30fb\u30fb\u30fb\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u300c\u8b1d\u7f6a\u300d\u3092\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3057\u305f\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u5927\u5909\u3001\u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002m( _ _ )m  m( _ _ )m  m( _ _ )m<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3067\u3001\u5b9f\u969b\u306b<\/p>\n<p>\u300cActivesheet.UsedRange.Address\u300d<\/p>\n<p>\u3068<\/p>\n<p>\u300cActivesheet.UsedRange\u300d\u3092<\/p>\n<p>\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u4e26\u3079\u308b\u3068\u4ee5\u4e0b\u306e\u56f3\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2021-04-02---14-09-26.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2021-04-02---14-09-26.jpg\" alt=\"\" width=\"100%\" height=\"100%\" ><\/a><\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3082\u3061\u308d\u3093\u3001\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u3067<\/p>\n<p>? Activesheet.UsedRange.Address<\/p>\n<p>\u3068\u3084\u3063\u3066\u3082\u5f53\u7136\u3001\u5024\uff08\u8fd4\u3063\u3066\u304f\u308b\u7b54\u3048\uff09\u306f\u3001\u300c$A$1:$B$4\u300d\u3068\u540c\u3058\u3067\u3059\u306d\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>1\u3064\u76ee\u306e\u4ef6\u306f\u4ee5\u4e0a\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u307b\u3093\u3068\u3046\u306b\u3001\u3059\u307f\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3067\u306f\u30012\u3064\u76ee\u306e\u4ef6\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3061\u3087\u3063\u3068\u524d\u306b\u3001Yahoo\u77e5\u6075\u888b\u3067\u3042\u308b\u8cea\u554f\u306b\u56de\u7b54\u3092\u3057\u305f\u3089\u3001\u305d\u306e\u8cea\u554f\u304c\u3001\u305d\u306e\u30ab\u30c6\u30b4\u30ea\u306b\u306f\u73cd\u3057\u304f\u300c700\u95b2\u89a7\u300d\u3057\u3066\u3082\u3089\u3048\u305f\u30fb\u30fb\u30fb\u3068\u3044\u3046\u4ef6\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u8cea\u554f\u306f\u3001\u4ee5\u4e0b\u306eURL\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/detail.chiebukuro.yahoo.co.jp\/qa\/question_detail\/q10239693360\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/detail.chiebukuro.yahoo.co.jp\/qa\/question_detail\/q10239693360<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u57fa\u672c\u3001\u3053\u306e\u300cVisual Basic\u300d\u306e\u30ab\u30c6\u30b4\u30ea\u306f\u3001<br \/>\n\uff15\uff10\uff5e\uff11\uff10\uff10\u95b2\u89a7\u7a0b\u5ea6\u304c\u3042\u308c\u3070\u3001\u753b\u9762\u53f3\u5074\u306e\u300c\u30ab\u30c6\u30b4\u30eaQ&A\u30e9\u30f3\u30ad\u30f3\u30b0\u300d\u306b\u3001\u7d50\u69cb\u306a\u671f\u9593\u30e9\u30f3\u30af\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u8cea\u554f\u3082\u305d\u3053\u305d\u3053\u306e\u671f\u9593\u3001\uff11\u4f4d\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u50d5\u304c\u3057\u305f\u56de\u7b54\u304c\u300c700\u95b2\u89a7\u306b\u306a\u3063\u305f\u300d\u672c\u5f53\u306e\u7406\u7531\u306a\u306e\u304b\u3069\u3046\u304b\uff1f\u306f\u6b63\u76f4\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u3067\u3082\u3001\u4ed6\u306e\u304b\u305f\u306e\u56de\u7b54\u304c\u77ed\u304b\u304b\u3063\u305f\u306e\u3067\u3001\u591a\u5206\u305d\u3046\u3058\u3083\u306a\u3044\u304b\u306a\uff5e\uff1f\u3068\u90fd\u5408\u3088\u304f\u52dd\u624b\u306b\u601d\u3044\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><b>\u3044\u305a\u308c\u306b\u3057\u307e\u3057\u3066\u3082\u3001\u591a\u304f\u306e\u65b9\u304c\u300c\u6c17\u306b\u306f\u306a\u3063\u3066\u3044\u308b\u30fb\u30fb\u30fb\u30fb\u300d\u3068\u3044\u3046\u3053\u3068\u306a\u3088\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<\/b><\/span><\/p>\n<p>\u4eca\u73fe\u5728\u3067\u3082\u3001\u5c11\u3057\u5897\u3048\u3066\u300c771\u95b2\u89a7\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u5185\u5bb9\u3092\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u305f\u3089\u306a\uff5e\u3001\u7686\u3055\u3093\u306e\u4f55\u304b\u306e\u30d2\u30f3\u30c8\u306b\u306a\u3063\u305f\u3089\u306a\uff5e\u3001\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u300c\u30d9\u30b9\u30c8\u30a2\u30f3\u30b5\u30fc\u300d\u306b\u306a\u3063\u3066\u3044\u308b\u56de\u7b54\u3067\u3059\u3002\u9577\u3044\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u305f\u3060\u3001<\/p>\n<p>\u3053\u306e\u56de\u7b54\u3001\u7d50\u69cb\u30c6\u30ad\u30c8\u30fc\u306b\u66f8\u3044\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u5c11\u3057\u8aa4\u89e3\u3092\u53d7\u3051\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3001\u672c\u53f7\u3067\u3001\u5c11\u3057\u307e\u3068\u3081\u76f4\u3057\u3092\u3055\u305b\u3066\u9802\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u305d\u308c\u3092\u3001\u4ee5\u964d\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3054\u89a7\u306b\u306a\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><span style=\"color: #0000ff;\">\uff1e\u3007\u3069\u308c\u304f\u3089\u3044\u3067\u7fd2\u5f97\u3067\u304d\u308b\u304b\uff1f<\/span><\/p>\n<p>Excel\u3092\u77e5\u3089\u306a\u3044\u306a\u3089\u3001\u72ec\u5b66\u3060\u30681\u5e74\u4ee5\u4e0a\u306f\u304b\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nExcel\u306e\u4e00\u822c\u64cd\u4f5c\uff08\u305b\u3081\u3066\u3001\u5165\u529b\u3001\u30bb\u30eb\u64cd\u4f5c\u3001\u30d4\u30dc\u30c3\u30c8\u64cd\u4f5c\u3001\u30d5\u30a3\u30eb\u30bf\u64cd\u4f5c\u3001\u4e26\u3079\u66ff\u3048\u3001\u30b0\u30e9\u30d5\u64cd\u4f5c\u3001\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u64cd\u4f5c\u3001\u306a\u3069\uff09\u304c\u3067\u304d\u306a\u3044\u3068\u3001VBA\u306f\u30e0\u30ea\u3067\u3059\u3002<\/p>\n<p>\u3067\u3082\u3001\u305d\u306e\u306a\u304b\u3067\u300cVBA\u7fd2\u5f97\u306b\u3068\u3063\u3066\u4e00\u756a\u91cd\u8981\u300d\u306a\u306e\u306f\u3001\u300c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u64cd\u4f5c\u300d\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u300c\u5165\u529b\u3001\u30bb\u30eb\u64cd\u4f5c\u3001\u30d4\u30dc\u30c3\u30c8\u64cd\u4f5c\u3001\u30d5\u30a3\u30eb\u30bf\u64cd\u4f5c\u3001\u4e26\u3079\u66ff\u3048\u3001\u30b0\u30e9\u30d5\u64cd\u4f5c\u3001\u300d\u3092\u9811\u5f35\u3063\u3066\u3001\u305d\u306e\u3042\u3068\u3001\u300c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u300d\u3092\u9811\u5f35\u3063\u3066\u3001\u300c\u95a2\u6570\u3068\u306f\u4f55\u304b\uff1f\u300d\u3092\u4f1a\u5f97\u3059\u308b\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3068\u3044\u3046\u306e\u3082\u3001VBA\u306e\u547d\u4ee4\u306f1000\u500b\u4ee5\u4e0a\u3042\u308a\u3001\u3044\u308d\u3093\u306a\u30ab\u30c6\u30b4\u30ea\u306b\u5206\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001<br \/>\n\u3069\u3093\u306a\u30ab\u30c6\u30b4\u30ea\u306b\u5206\u304b\u308c\u3066\u3044\u3066\u3082\u3001<br \/>\n\u304a\u304a\u3080\u306d\u4ee5\u964d\u306e(a)\uff5e(e)\u306e\u3001<br \/>\n\u300e \uff15\u3064\u306e\u300c\u81ea\u4f5c\u95a2\u6570\u300d\u306e\u300c\u52d5\u304d\u300d\u306e\u3069\u308c\u304b\u306b\u3042\u3066\u306f\u307e\u308b \u300f<br \/>\n\u304b\u3089\u3067\u3059\u3002\uff08\u9006\u306b\u8a00\u3046\u3068\u3001\uff15\u3064\u3057\u304b\u306a\u3044\u3002\uff09<\/p>\n<p>\uff08\u203b\u305d\u306e\u969b\u3001\u300c\u5f15\u6570\u300d\u3068\u3044\u3046\u3082\u306e\u3084\u300c\u65e2\u5b9a\u5024\u300d\u3068\u3044\u3046\u3082\u306e\u3092\u6301\u3064\/\u6301\u305f\u306a\u3044\u306a\u3069\u3082<br \/>\n\u3000\u3000\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u308c\u3082\u542b\u3081\u3066\u3002\uff09<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u4f8b\u3048\u3070\u3001ExcelVBA\u306e\u547d\u4ee4\u3060\u3051\u306b\u9650\u3063\u3066\u8a00\u3048\u3070\u3001<\/p>\n<p>\u30fb\u6f14\u7b97\u5b50\u3001<br \/>\n\u30fb\u5404\u7a2eVBA\u95a2\u6570\uff08Excel\u5c02\u7528\u3001Office\u5171\u7528\u3001\u306a\u3069\u3001\u3044\u308d\u3044\u308d\uff09\u3001<br \/>\n\u30fbWorksheetFunction\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u3001<br \/>\n\u30fb\u30d7\u30ed\u30d1\u30c6\u30a3\u3001<br \/>\n\u30fb\u30e1\u30bd\u30c3\u30c9\u3001<br \/>\n\u30fb\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\uff08\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u7528\u306e\u300c\u30ad\u30fc\u30ef\u30fc\u30c9\u300d\uff09\u3001<br \/>\n\u30fbAPI\u3001<br \/>\n\u306a\u3069\u306a\u3069\u30fb\u30fb\u30fb\u3001<br \/>\n\u306e\u30ab\u30c6\u30b4\u30ea\u304c\u3042\u308a\u3001<br \/>\n\u305d\u3057\u3066\u3053\u306e Excel\u306e\u5834\u5408\u3060\u3051\u3067\u3082\u3001\u5408\u8a08\u3067\u300c1000\u500b\u4ee5\u4e0a\u300d\u306e\u547d\u4ee4\u5358\u8a9e\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u304c\u3001\u305d\u308c\u3089\u306e\u547d\u4ee4\u5358\u8a9e\u306f\u305d\u306e\u3088\u3046\u306b\u3001\u69d8\u3005\u306b\u30ab\u30c6\u30b4\u30e9\u30a4\u30ba\u3055\u308c\u3066\u3001<br \/>\n\u300e \u4f7f\u3046\u30b7\u30fc\u30f3\u30fb\u64cd\u4f5c\u5bfe\u8c61\u30fb\u66f8\u304d\u65b9\u306f\u7570\u306a\u308a\u307e\u3059\u304c \u300f\u3001<br \/>\n\u3067\u3082\u3001<br \/>\n\u300c\u57fa\u672c\u7684\u306b\u306f\u300d\u300c\u3059\u3079\u3066\u300d\u300c\u4ee5\u964d\u306e(a)\uff5e(e)\u306e\uff15\u3064\u306e\u81ea\u4f5c\u95a2\u6570\u306e\u52d5\u304d\u300d\u306e\u3001<br \/>\n\u300c\u3069\u308c\u304b\u300d\u306b\u3001<br \/>\n\u300c\u3042\u3066\u306f\u307e\u308a\u300d\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u4f7f\u3046\u30b7\u30fc\u30f3\u30fb\u64cd\u4f5c\u5bfe\u8c61\u30fb\u66f8\u304d\u65b9\uff08\u69cb\u9020\uff09\u304c\u7570\u306a\u308b\u306e\u3067\u300c\u547c\u3073\u65b9\u304c\u7570\u306a\u308b\u3060\u3051\u300d\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u300c\u672c\u8cea\u30fb\u52d5\u304d\u3001\u306f\u5168\u90e8\u540c\u3058\u300d\u3001\u3068\u601d\u3063\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u306a\u306e\u3067\u3001\u6700\u521d\u306b\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u3067\u300c\u95a2\u6570\u300d\u306b\u3064\u3044\u3066\u305d\u306e\u4ed5\u7d44\u307f\u3092\u5b66\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\uff08\u203b\u305f\u3060\u3001\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u3060\u3051\u3067\u306f\u5b66\u3079\u307e\u305b\u3093\u304c\u3001<br \/>\n\u3000\u3000\u7279\u306b\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u30bf\u30a4\u30d7\u306e\u95a2\u6570\u300d\u3001<br \/>\n\u3000\u3000\u306e\u610f\u5473\u30fb\u4ed5\u7d44\u307f\u3092\u77e5\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\uff09<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3067\u306f\u3001\u4ee5\u964d\u3001\u305d\u306e(a)\uff5e(e)\u306e\u3001\uff15\u3064\u306e\u52d5\u304d\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>(a)\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u300d\u3092\u8fd4\u3059\u3053\u3068\u300c\u3060\u3051\u300d\u3057\u304b\u3057\u306a\u3044\u81ea\u4f5c\u95a2\u6570<br \/>\n\u3000\u3000\uff08\uff1d\u3082\u3061\u308d\u3093\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u8fd4\u3055\u306a\u3044\uff09<\/p>\n<p>(b)\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u300d\u3092\u3057\u3064\u3064\u3001\u540c\u6642\u306b\u3001\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u3092\u3082\u8fd4\u3059\u300d\u81ea\u4f5c\u95a2\u6570<\/p>\n<p>(c)\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3092\u8fd4\u3059\u3053\u3068\u300c\u3060\u3051\u300d\u3057\u304b\u3057\u306a\u3044\u81ea\u4f5c\u95a2\u6570<br \/>\n\u3000\u3000\uff08\uff1d\u3082\u3061\u308d\u3093\u4e00\u822c\u30c7\u30fc\u30bf\u306f\u8fd4\u3055\u306a\u3044\uff09<\/p>\n<p>(d)\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u300d\u3092\u3057\u3064\u3064\u3001\u540c\u6642\u306b\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u3082\u8fd4\u300d\u3059\u81ea\u4f5c\u95a2\u6570<\/p>\n<p>(e)\u4f55\u3082\u8fd4\u3055\u305a\u306b\u3001\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u300d\u3060\u3051\u3092\u3059\u308b\u81ea\u4f5c\u95a2\u6570<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u203b\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u300d\u3068\u306f\u3001\u6570\u5024\u3001\u6587\u5b57\u5217\u3001\u65e5\u4ed8\u3001Ture\/False\u306e\uff12\u5024\u3001\u306a\u3069\u306e<br \/>\n\u3000\u3000\u300c\u6587\u5b57\u7cfb\uff08\u8a00\u308f\u3070\uff12\uff24\uff09\u300d\u306e\u751f\u30c7\u30fc\u30bf\u306e\u3053\u3068\u3092\u3055\u3057\u307e\u3059<\/p>\n<p>\u203b\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u306f\u3001\u4f55\u3089\u304b\u306e\u30e2\u30ce\u3092\u52d5\u304b\u3059\u305f\u3081\u306e<br \/>\n\u3000\u3000\u300c\u88c5\u7f6e\uff08\u3042\u308b\u3044\u306f\u30e6\u30cb\u30c3\u30c8\u3001\u90e8\u54c1\u3001\u3042\u308b\u3044\u306f\u3001<br \/>\n\u3000\u3000\u3000Excel\u3068\u3044\u3046\u5de5\u5834\u3067\u50cd\u304f\u30df\u30cb\u30df\u30cb\u30ed\u30dc\u30c3\u30c8\uff09\u300d<br \/>\n\u3000 \u306e\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u3000 \u8a00\u308f\u3070\u3001\u300c\uff13\uff24\u7684\u306a\u88c5\u7f6e\u300d\u306e\u30a4\u30e1\u30fc\u30b8\u306e\u300c\u30e2\u30ce\u300d\u306e\u3053\u3068\u3092\u3055\u3057\u307e\u3059\u3002<br \/>\n\u3000\uff08\u300c\u30e2\u30ce\u300d\u3068\u3044\u3046\u3088\u308a\u3001\u307b\u3093\u3068\u306f\u300c\u30c7\u30fc\u30bf\u3084\u547d\u4ee4\u306e\u96c6\u307e\u308a\u300d\u3068\u3044\u3046\u611f\u3058<br \/>\n\u3000\u3000\u306a\u306e\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u304c\u3001\u3067\u3082\u305d\u3046\u8003\u3048\u3066\u3057\u307e\u3046\u3068\u521d\u5fc3\u8005\u306e\u3046\u3061\u306f<br \/>\n\u3000\u3000\u304b\u3048\u3063\u3066\u5206\u304b\u308a\u3065\u3089\u304f\u30fb\u3084\u3084\u3053\u3057\u304f\u306a\u308b\u306e\u3067\u3001<br \/>\n\u3000\u3000\u3042\u3048\u3066\u3001\u300c\u30e2\u30ce\u300d\u3068\u3044\u3046\u7406\u89e3\u306e\u307b\u3046\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u203b \u305d\u3057\u3066\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3084\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u3001<br \/>\n\u3000\u300c\u7279\u5b9a\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u306a\u304b\u300d\u300c\u3060\u3051\u300d\u3067\u3057\u304b\u300c\u52d5\u3051\u306a\u3044\u300d\u3001\u3042\u308b\u3044\u306f\u3001<br \/>\n\u3000<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #32cd32;\"><b>\u300c\u7279\u5b9a\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u300d\u3001\u300c\u4e00\u7dd2\uff08\u30bb\u30c3\u30c8\uff09\u300d\u300c\u3058\u3083\u306a\u3044\u3068\u300d\u3001\u300c\u52d5\u3051\u306a\u3044\u300d\u3001<\/b><\/span><\/font><br \/>\n \u3000 \u305d\u3046\u3044\u3046\u3001<br \/>\n\u3000 \u300c\u547d\u4ee4\u300d\u305f\u3061\u3001\u3067\u3059\u3002<br \/>\n\u3000\u3000\u305d\u3057\u3066\u3001\u3082\u3046\u5c11\u3057\u8a73\u3057\u304f\u8a00\u3046\u3068\u3001<br \/>\n\u3000  \u300c\u7279\u5b9a\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u300d\u3001\u300c\u4e00\u7dd2\uff08\u30bb\u30c3\u30c8\uff09\u300d\u300c\u3058\u3083\u306a\u3044\u3068\u300d\u3001\u300c\u52d5\u3051\u306a\u3044\u300d<br \/>\n\u3000\u3000\u304b\u3064\u3001\u300c\u81ea\u4f5c\u95a2\u6570\u3068\u4f3c\u305f\u52d5\u304d\u3092\u3059\u308b\u300d\u3001<br \/>\n\u3000\u3000\u305d\u3046\u3044\u3046\u3001<br \/>\n\u3000 \u300c\u547d\u4ee4\u300d\u305f\u3061\u3001\u3067\u3059\u3002<br \/>\n \u3000 \u547c\u3073\u51fa\u3057\u65b9\u6cd5\u3001\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3001\u30ab\u30c3\u30b3\u306e\u6709\u7121\u3001\u306a\u3069\u306e\u30eb\u30fc\u30eb\u306f\u3001<br \/>\n \u3000 \u81ea\u4f5c\u95a2\u6570\uff08\uff1d\u81ea\u4f5c\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\uff09 \u3067\u306e\u30eb\u30fc\u30eb\u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u203b \u3053\u3053\u3067\u8a00\u3046\u3001\u300c\u4f55\u304b\u3057\u3089\u306e\u52d5\u304d\u300d\u3068\u306f\u3001<\/p>\n<p>\u3000\u3000\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u64cd\u4f5c\u306e\u5834\u5408\u300d\u3067\u3042\u308c\u3070\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u4e3b\u306b\u300c\u56db\u5247\u8a08\u7b97\u3001\u691c\u7d22\u3001\u5909\u63db\u3001\u7f6e\u63db\u3001\u6bd4\u8f03\u3001\u5207\u51fa\u3057\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u65e5\u4ed8\u3084\u671f\u9593\u306e\u8a2d\u5b9a\u3001True\/False\uff08=Yes\/No\u7684\u306a\u610f\u5473\uff09\u306e\u6c7a\u5b9a\u3001\u306a\u3069\u306a\u3069\u300d\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff08\u6599\u7406\u3067\u8a00\u3046\u3068\u300c\u4e0b\u3054\u3057\u3089\u3048\u300d\u7684\u306a\u52d5\u304d\u30fb\u51e6\u7406\u3067\u3059\uff09<\/p>\n<p>\u3000\u3000\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u64cd\u4f5c\u306e\u5834\u5408\u300d\u3067\u3042\u308c\u3070\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u4e3b\u306b\u3001\u300c\u958b\u304f\/\u9589\u3058\u308b\u3001\u8ffd\u52a0\u3001\u524a\u9664\u3001\u30d5\u30a3\u30eb\u30bf\u3001\u4e26\u3079\u66ff\u3048\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000Excel\u64cd\u4f5c\u3068\u3057\u3066\u306e\u691c\u7d22\u3001\u5909\u63db\u3001\u7f6e\u63db\u3001\u6bd4\u8f03\u3001\u5207\u51fa\u3057\u3001\u62bd\u51fa\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u5916\u90e8\u30c7\u30fc\u30bf\u63a5\u7d9a\u3068\u5438\u8fbc\u307f\u3001\u30b0\u30e9\u30d5\u4f5c\u6210\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30e1\u30c3\u30bb\u30fc\u30b8\u8868\u793a\u3001\u306a\u3069\u306a\u3069\u300d<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff08\u6599\u7406\u3067\u8a00\u3046\u3068\u300c\u30e1\u30a4\u30f3\u8abf\u7406\u300d\u7684\u306a\u52d5\u304d\u30fb\u51e6\u7406\u3067\u3059\uff09<\/p>\n<p>\u3000\u3000\u3092\u3055\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u3000\u305d\u3057\u3066\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u4e21\u8005\u306f\uff11\u3064\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u4e2d\u3067\u6df7\u5728\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3000\u3042\u308b\u3044\u306f\u3001\u524d\u8005\u3092\u300c\u66f4\u306b\u30fb\u95a2\u6570\u5316\u300d\u3059\u308b\u3053\u3068\u3082\u591a\u3044\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u3084\u6f14\u7b97\u5b50\u3068\u3044\u3063\u305f\u547d\u4ee4\u300c\u4ee5\u5916\u300d\u306e\u547d\u4ee4\u30fb\u30fb\u30fb\u3064\u307e\u308a\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u3068\u3044\u3044\u307e\u3059\u304b\u30fb\u30fb\u30fb\u3001<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #32cd32;\"><b>\u4f8b\u3048\u3070\u3001\u5404\u7a2e\u95a2\u6570\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30a4\u30d9\u30f3\u30c8\u3001\u3001\u306a\u3069\u306e\u547d\u4ee4\u306f\u3001\u3059\u3079\u3066\u3001\u3001\u300c\u81ea\u4f5c\u300d\u3082\u3067\u304d\u307e\u3059\u304c\u3001<\/b><\/span><\/font><font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>\u305d\u308c\u306b\u3064\u3044\u3066\u3082\u3001\u4e0a\u8a18\u306e\uff15\u3064\u306e\u3069\u308c\u304b\u3001\u306b\u3042\u3066\u306f\u307e\u308a\u307e\u3059\u3002<\/b><\/span><\/font><br \/>\n\u300c\u5217\u6319\u300d\u3084\u300c\u5217\u6319\u306b\u542b\u307e\u308c\u308b\u5b9a\u6570\u300d\u306f\u5fae\u5999\u3067\u3059\u304c\u3001\u305f\u3060\u3001\u300c\u5217\u6319\u306b\u542b\u307e\u308c\u308b\u5b9a\u6570\u300d\u306f\u3001\uff08\u6587\u5b57\u7cfb\u306e\uff09\u4e00\u822c\u30c7\u30fc\u30bf\u3092\u300c\u8fd4\u3059\u300d\u3001\u30fb\u30fb\u30fb\u3068\u3044\u3046\u304b\u300c\u8a55\u4fa1\u3055\u308c\u308b\u300d\u3068\u3044\u3046\u3001\u300c\u201d\u8fd4\u3059\u201d\u3068\u307b\u307c\u540c\u3058\u3088\u3046\u306a\u52d5\u304d\u300d\u3092\u53d6\u308a\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u8272\u3005\u3068\u30b4\u30c1\u30e3\u30b4\u30c1\u30e3\u3068\u66f8\u3044\u3066\u3057\u307e\u3063\u3066\u3059\u307f\u307e\u305b\u3093\u304c\u3001\u3044\u305a\u308c\u306b\u3057\u307e\u3057\u3066\u3082\u3001<\/p>\n<p><font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u300d\u3068\u3044\u3063\u305f\u300c\u547c\u3073\u540d\u300d\u306b\u60d1\u308f\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/b><\/span><\/font>\uff08\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u53b3\u5bc6\u306b\u306f\u95a2\u6570\u3067\u306f\u306a\u3044\uff1f\u304b\u3082\u3067\u3059\u304c\u3001\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u3092\u4f7f\u3063\u3066\u81ea\u4f5c\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u4f7f\u3063\u3066\u81ea\u4f5c\u3067\u304d\u3001Sub\u3067\u59cb\u307e\u308b\u3082\u306e\u306f\u300c\u5024\u3092\u8fd4\u3055\u306a\u3044\u30e1\u30bd\u30c3\u30c9\u300d\u3001Function\u3067\u59cb\u307e\u308b\u3082\u306e\u306f\u300c\u5024\u3092\u8fd4\u3059\u30e1\u30bd\u30c3\u30c9\u300d\u3068Excel\u304c\u81ea\u52d5\u8a8d\u8b58\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u300c\u5024\u300d\u3068\u306f\u3001\u4e00\u822c\u30c7\u30fc\u30bf\u304b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u306e\uff12\u3064\u306b\uff11\u3064\u3067\u3059\u3002\uff09<\/p>\n<p><font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #32cd32;\"><b>\u3053\u306e\uff15\u3064\u306e\u52d5\u304d\u3068\u300c\u5f0f\u300d\u3068\u3044\u3046\u5358\u4f4d\u306e\u8003\u3048\u65b9\u3092\u8eab\u306b\u4ed8\u3051\u308b\u3068\u3001\u3060\u3044\u3076\u3001VBA\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u8003\u3048\u3089\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/b><\/span><\/font><\/p>\n<p>\u304c\u3093\u3070\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3067\u306f\u3001\u4ee5\u964d\u3067\u3001\u3069\u306e\u7d44\u8fbc\u306e\u547d\u4ee4\u304c\u3001(a)\uff5e(e)\u306b\u3042\u3066\u306f\u307e\u308b\u304b\u306e\u5927\u96d1\u628a\u306a\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u2605\u2605\u2605 (a)\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u300d\u3092\u8fd4\u3059\u3053\u3068\u300c\u3060\u3051\u300d\u3057\u304b\u3057\u306a\u3044\u81ea\u4f5c\u95a2\u6570\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u8fd4\u3055\u306a\u3044\uff09<\/p>\n<p>\u3053\u308c\u306f\u7279\u306b\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u3044\u3046\u547d\u4ee4\u306b\u591a\u3044\u3067\u3059\u3002<br \/>\n\u3082\u3061\u308d\u3093\u3001\u305d\u3046\u3044\u3046\u52d5\u304d\u3057\u304b\u3057\u306a\u3044\u81ea\u4f5c\u95a2\u6570\u306b\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u203b\u88dc\u8db3<br \/>\n\u3088\u308a\u53b3\u5bc6\uff08\uff1f\uff09\u306b\u8a00\u3046\uff08\uff1f\uff09\u3068\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u3044\u3046\u3082\u306e\u306b\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u306f\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u3001\uff13\u3064\u306e\u300cProperty\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u547c\u3070\u308c\u308b\u30bf\u30a4\u30d7\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\uff08\u81ea\u4f5c\u95a2\u6570\u306e\u3088\u3046\u306a\u3082\u306e\uff09\u3067\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u300cPropertyLet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d<br \/>\n\u300cPropertySet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d<br \/>\n\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d<\/p>\n<p>\u306e\uff13\u3064\u3067\u3059\u3002<\/p>\n<p>\uff08\u203b\u7279\u306b\u81ea\u4f5c\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3002\u7d44\u8fbc\u307f\u306e\u30e2\u30ce\u3082\u540c\u3058\u3088\u3046\u306a\u611f\u3058\u3060\u3068\u601d\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u3053\u306e\u3046\u3061\u3001<br \/>\n\u300cPropertyLet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d<br \/>\n\u300cPropertySet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d<br \/>\n\u306f\u3001<br \/>\n\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u9805\u76ee\u306b\u5024\u3092\u4ee3\u5165\uff08\uff1d\u66f8\u304d\u63db\u3048\u7b49\u3005\uff09\u3059\u308b\u3068\u304d\u300d\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u300cLet Activesheet.Range(\"A1\").Value = 100 \u300d\u307f\u305f\u3044\u306a\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\uff08Let\u306f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u304c\u4e00\u822c\u30c7\u30fc\u30bf\u306e\u5834\u5408\u306b\u3001\u305d\u306e\u65b0\u3057\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u5024\u3092\u4ee3\u5165\u3059\u308b\u5834\u5408\u3001\u306b\u4f7f\u3044\u3001<br \/>\n\u3000Set\u306f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u304c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u306b\u3001\u65b0\u3057\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u5024\u3092\u4ee3\u5165\u3059\u308b\u5834\u5408\u3001\u306b<br \/>\n\u3000\u4f7f\u3044\u307e\u3059\u306e\u3067\u3001\u3044\u305a\u308c\u304b\u7247\u65b9\u3092\u4f7f\u3046\u30fb\u30fb\u30fb\u3001\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3000\u305f\u3060\u3057\u3001VBA\u306b\u306f\u300c\u5024\u306e\u8a2d\u5b9a\u304c\u3067\u304d\u306a\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3001\u3064\u307e\u308a\u3001<br \/>\n \u300c\u5024\u3092\u8fd4\u3059\uff1d\u30b2\u30c3\u30c8\u3059\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u201d\u3060\u3051\u201d\u3057\u304b\u3067\u304d\u306a\u3044\uff01\u300d\u3068\u3044\u3046\u30bf\u30a4\u30d7\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c<br \/>\n\u3000\u5b58\u5728\u3059\u308b\u306e\u3067\u3059\u304c\u3001<br \/>\n\u3000\u305d\u308c\u306b\u3064\u3044\u3066\u306f\u3001\u300cPropertyLet\u3082\u300cPropertySet\u3082\u300d\u300c\u4e21\u65b9\u5171\u304c\u300d\u3001\u300c\u7121\u3044\u30fb\u4f7f\u308f\u308c\u3066\u306a\u3044\u300d<br \/>\n\u3000\u3068\u3044\u3046\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002\uff09<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u305d\u308c\u306b\u5bfe\u3057\u3066\u3001\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u5024\u3092\u30b2\u30c3\u30c8\uff08\u53d6\u5f97\uff09\u3059\u308b\u3068\u304d\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<br \/>\n\u300c \u5909\u6570\u540d = Activesheet.Range(\"A1\").Value \u300d\u307f\u305f\u3044\u306a\u3053\u3068\u3092\u3057\u305f\u3044\u3068\u304d\u306b\u3001\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u3001\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306f\u3001\u7279\u306b\u8a08\u7b97\u4e91\u3005\u3092\u3059\u308b\u308f\u3051\u3067\u3082\u306a\u304f\u3001<br \/>\n\u300c\u305f\u3060\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3092\u8fd4\u3059\u3060\u3051\u300d\u3068\u3044\u3046\u52d5\u304d\u3092\u3068\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u4eca\u56de\u3053\u3053\u3067\u8a00\u3063\u3066\u3044\u308b\u3001<br \/>\n\u300e \u3053\u308c\u306f\u7279\u306b\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u3044\u3046\u547d\u4ee4\u306b\u591a\u3044\u3067\u3059\u3002 \u300f<br \/>\n\u3068\u3044\u3046\u306e\u306f\u3001\u53b3\u5bc6\u306b\u306f\u3001<br \/>\n\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d<br \/>\n\u3068\u547c\u3070\u308c\u308b<br \/>\n\u300c\u81ea\u4f5c\u95a2\u6570\u7684\u306a\u30e2\u30ce\u300d\u306e\u3053\u3068\u3092\u8a00\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3082\u3061\u308d\u3093\u3001\u8a08\u7b97\u4e91\u3005\u3092\u3057\u306a\u304c\u3089\u3001\u5024\u3092\u8fd4\u3059\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001<br \/>\n\u305d\u3046\u3058\u3083\u306a\u3044\u3001\u7279\u306b\u4f55\u3082\u305b\u305a\u3001\u5024\u3092\u8fd4\u3059\u3060\u3051\u306e\u30e2\u30ce\u3082\u591a\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u306a\u3093\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u307e\u3067\u53b3\u5bc6\u306b\u8a00\u3046\u3068\u3001\u3059\u3053\u3057\u6df7\u4e71\u3057\u3066\u3057\u307e\u3046\u3068\u601d\u3044\u307e\u3059\u304c\u3001<br \/>\n\u3054\u81ea\u5206\u3067<br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u300d<br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u4e00\u822c\u30c7\u30fc\u30bf\u306e\u9055\u3044\u300d\u306a\u3069\u3092\u7406\u89e3\u3057\u3066\u3082\u3089\u3063\u305f\u3046\u3048\u3067\u3001<br \/>\n\u300c\u81ea\u4f5c\u306e\u30af\u30e9\u30b9\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u81ea\u4f5c\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u3044\u3046\u3082\u306e\u3092\u4f5c\u308b\u4f53\u9a13\u3001<br \/>\n\u305d\u3057\u3066\u305d\u306e\u81ea\u4f5c\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3092\u8fd4\u3057\u305f\u308a\u4ee3\u5165\u3057\u305f\u308a\u3092\u3057\u3066\u3044\u305f\u3060\u304f\u3068\u3001<br \/>\n\u7406\u89e3\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\uff08 <a href=\"https:\/\/www.limecode.jp\/entry\/difference\/propertylet-propertyset\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.limecode.jp\/entry\/difference\/propertylet-propertyset<\/a> \u306a\u3069\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002 \uff09<\/p>\n<p>\u305d\u3053\u307e\u3067\u307e\u3060\u5230\u9054\u3057\u3066\u3044\u306a\u3044\u65b9\u306f\u3001<br \/>\n\u3053\u3053\u3067\u306f\u300c\u3075\u30fc\u3093\u3002\u305d\u3046\u3044\u3046\u3053\u3068\u304c\u3042\u308b\u3093\u3060\u306a\uff5e\u300d\u304f\u3089\u3044\u306b\u601d\u3063\u3066\u9802\u3044\u3066\u3001<br \/>\n\u300e \u3053\u308c\u306f\u7279\u306b\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u3044\u3046\u547d\u4ee4\u306b\u591a\u3044\u3067\u3059\u3002 \u300f<br \/>\n\u3068\u3044\u3046\u304f\u3089\u3044\u306e\u7406\u89e3\u306e\u4ed5\u65b9\u3067\u3001\u73fe\u6642\u70b9\u3067\u306f\u3001\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001<br \/>\n\u300cPropertyLet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068<br \/>\n\u300cPropertySet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306f\u3001<br \/>\n\u300c\u4ee3\u5165\u3059\u308b\u300d\u3068\u3044\u3046\u52d5\u304d\u3060\u3051\u3092\u3059\u308b\u3001\u3060\u3051\u3001\u306a\u306e\u3067\u3001(a)\uff5e(e)\u306e\u4e2d\u3067\u306e\u5206\u985e\u3092\u3059\u308b\u3068\u3059\u308c\u3070\u3001<br \/>\n(e)\u306e\u300c\u4f55\u3082\u8fd4\u3055\u306a\u3044\u300d\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u3060\u3051\u3092\u3059\u308b\u300d\u300c\u81ea\u4f5c\u95a2\u6570\u7684\u306a\u30e2\u30ce\u300d\u30fb\u30fb\u30fb\u306b\u5c5e\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\uff08\u50d5\u3082\u826f\u304f\u5206\u304b\u3063\u3066\u306a\u3044\u3067\u3059\uff09<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3060\u3044\u3076\u300c\u5927\u96d1\u628a\u300d\u306b\u307e\u3068\u3081\u307e\u3059\u3068\u30fb\u30fb\u30fb\u3001<\/p>\n<p>\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059 \u201d\u3060\u3051\u201d\u3067\u5024\u3092\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u3001<br \/>\n\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u300c\uff11\u3064\u3060\u3051\u300d\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\uff08\u81ea\u4f5c\u95a2\u6570\u7684\u306a\u30e2\u30ce\uff09\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001<\/p>\n<p>\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u3092\u8fd4\u3057\u305f\u308a\u8a2d\u5b9a\u3057\u305f\u308a\u3067\u304d\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u3001<br \/>\n\u300cPropertyLet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u3001<br \/>\n\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306e\u3001\u300c\uff12\u3064\u300d\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\uff08\u81ea\u4f5c\u95a2\u6570\u7684\u306a\u30e2\u30ce\uff09\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001<\/p>\n<p>\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u305f\u308a\u8a2d\u5b9a\u3057\u305f\u308a\u3067\u304d\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u3001<br \/>\n\u300cPropertySet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u3001<br \/>\n\u300cPropertyGet\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306e\u3001\u300c\uff12\u3064\u300d\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\uff08\u81ea\u4f5c\u95a2\u6570\u7684\u306a\u30e2\u30ce\uff09\u3092\u4f7f\u3063\u3066\u3044\u308b\u30fb\u30fb\u30fb\u3001<\/p>\n<p>\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u2605\u2605\u2605 (b)\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u300d\u3092\u3057\u3064\u3064\u3001\u540c\u6642\u306b\u3001\u300c\u4e00\u822c\u30c7\u30fc\u30bf\u3092\u3082\u8fd4\u3059\u300d\u81ea\u4f5c\u95a2\u6570<\/p>\n<p>\u3053\u308c\u306f\u300cVBA\u95a2\u6570\uff08Excel\u5c02\u7528\u3001Office\u5171\u7528\u3001\u306a\u3069\u3001\u3044\u308d\u3044\u308d\uff09\u300d\u300cWorksheetFunction\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u300d\u306a\u3069\u306b\u591a\u3044\u3067\u3059\u3002<br \/>\n\u300c\u6f14\u7b97\u5b50\u300d\u3082\u3053\u3053\u3067\u3059\u3002\u5f15\u6570\u306f\u7121\u3044\u3067\u3059\u304c\u3001\u5f15\u6570\u306b\u76f8\u5f53\u3059\u308b\u90e8\u5206\u304c\u3042\u308a\u3001\u4f3c\u305f\u52d5\u304d\u3092\u3057\u307e\u3059\u3002\u5f15\u6570\u76f8\u5f53\u306e\u30c7\u30fc\u30bf\u3092\u30e2\u30c8\u306b\u3001\u8a08\u7b97\u3084\u6bd4\u8f03\u3092\u3057\u3066\u305d\u306e\u7d50\u679c\uff08\u7b54\u3048\uff09\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u6295\u3052\u8fd4\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u2605\u2605\u2605 (c)\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3092\u8fd4\u3059\u3053\u3068\u300c\u3060\u3051\u300d\u3057\u304b\u3057\u306a\u3044\u81ea\u4f5c\u95a2\u6570\uff08\uff1d\u3082\u3061\u308d\u3093\u4e00\u822c\u30c7\u30fc\u30bf\u306f\u8fd4\u3055\u306a\u3044\uff09<\/p>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u3053\u3068\u300c\u3060\u3051\u300d\u3057\u304b\u3057\u306a\u3044\u30bf\u30a4\u30d7\u306e\u7d44\u8fbc\u306e\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u304c\u305d\u308c\u306b\u3042\u305f\u308a\u307e\u3059\u3002<\/p>\n<p>\u30fbApplication.Workbooks\u30d7\u30ed\u30d1\u30c6\u30a3\u3001<br \/>\n\u30fbWorkbook.Worksheets\u30d7\u30ed\u30d1\u30c6\u30a3\u3001<br \/>\n\u30fbWorkbook.Sheets\u30d7\u30ed\u30d1\u30c6\u30a3\u3001<br \/>\n\u30fbWorksheet.PivotTables\u30e1\u30bd\u30c3\u30c9\uff08\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u306f\u306a\u304f\u3066\u3001\u306a\u305c\u304b\u30e1\u30bd\u30c3\u30c9\uff09\u3001<br \/>\n\u30fbWorksheet.QueryTables\u30d7\u30ed\u30d1\u30c6\u30a3\u3001<br \/>\n\u30fb\u5404\u7a2e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u306b\u542b\u307e\u308c\u308b\u3001\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9<br \/>\n\u3000\u3000\uff08\u3053\u3053\u3067\u3082\u4f55\u6545\u304b\u30e1\u30bd\u30c3\u30c9\u304c\u5c45\u308b\uff09\u3001<br \/>\n\u306a\u3069\u306a\u3069\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u203b\u6ce8\u610f<br \/>\n\u300cWorkbooks\u30d7\u30ed\u30d1\u30c6\u30a3\u3084Worksheets\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306a\u3069\u3001\u306f\u3001<br \/>\n\u300cWorkbooks\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3084\u3001<br \/>\n\u3000Worksheets\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3092<br \/>\n\u300c\u8fd4\u3059\uff1d\u30b2\u30c3\u30c8\uff08\u53d6\u5f97\uff09\u300d\u3059\u308b\u3060\u3051\u306e\u52d5\u304d\u3057\u304b\u3057\u307e\u305b\u3093\u3002<br \/>\n\u5b9f\u969b\u306b\u3001\u5358\u4e00\u306e\u30d6\u30c3\u30af\u3084\u30b7\u30fc\u30c8\u3092\u300c\u8fd4\u3059\uff1d\u30b2\u30c3\u30c8\uff08\u53d6\u5f97\uff09\u300d\u3059\u308b\u52d5\u304d\u3092\u3059\u308b\u306e\u306f\u3001<br \/>\n\u305d\u308c\u3089\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3001<br \/>\n\uff08\uff1d\u305d\u308c\u3089\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u300c\u30e1\u30f3\u30d0\u30fc\u300d\u306e\uff09\u3001<br \/>\n\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u3001\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300cSheets\u30d7\u30ed\u30d1\u30c6\u30a3\u300d \u304c\u76f4\u63a5\u3001\u300cSheet1\u300d\u3068\u3044\u3046\u5358\u4e00\u306e\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u3092\u8fd4\u3059\uff1d\u30b2\u30c3\u30c8\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3066\u3001<br \/>\nSheets\u30d7\u30ed\u30d1\u30c6\u30a3 \u304c\u30b2\u30c3\u30c8\u3057\u305f\u300cSheets\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u30fb\u30fb\u30fb\u3001<br \/>\n\u305d\u306e\u4e2d\u306b\u542b\u307e\u308c\u308b\u300cItem\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u304c\u3001<br \/>\n\u300cSheet1\u300d\u3068\u3044\u3046\u5358\u4e00\u306e\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u3092\u8fd4\u3059\uff1d\u30b2\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u5358\u4e00\u306e\u30b7\u30fc\u30c8\u3084\u30d6\u30c3\u30af\u3092\u8fd4\u3059\uff1d\u30b2\u30c3\u30c8\uff1d\u53d6\u5f97\u3059\u308b\u3001\u5834\u5408\u306b\u3064\u3044\u3066\u3082\u540c\u69d8\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u300cItem\u300d\u306f\u3001\u57fa\u672c\u30fb\u7701\u7565\u3055\u308c\u308b\u306e\u3067\u3001\u300cSheets\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u304c\u76f4\u63a5\u5358\u4e00\u306e\u30b7\u30fc\u30c8\u3092\u30b2\u30c3\u30c8\u3057\u3066\u3044\u308b\u3068\u8aa4\u89e3\u3057\u304c\u3061\u3067\u3059\u3002<br \/>\n\u305d\u3046\u7406\u89e3\uff08\u8aa4\u89e3\u30fb\u932f\u899a\uff09\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30c7\u30eb\uff08\u968e\u5c64\u69cb\u9020\uff09\u3092\u7406\u89e3\u3067\u304d\u305a\u306b\u3001<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3082\u30d8\u30eb\u30d7\u3082\u8aad\u3081\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u3082\u307e\u3068\u3082\u306b\u8aad\u3081\u306a\u304f\u306a\u308b\u5371\u967a\u6027\u3082\u306f\u3089\u3093\u3067\u3044\u307e\u3059\u3002<br \/>\n\u300c\u30d0\u30ab\u306b\u306a\u308b\u3060\u3051\u300d\u3067\u3059\u306e\u3067\u3001<br \/>\nExcelVBA\uff08\u7279\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u968e\u5c64\u69cb\u9020\uff09\u304c\u3001\u307e\u3060\u3088\u304f\u7406\u89e3\u3067\u304d\u3066\u3044\u306a\u3044\u3046\u3061\u306e\u300cItem\u306e\u7701\u7565\u300d\u306f\u3001<br \/>\n\u7d76\u5bfe\u306b\u3084\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u30e2\u30b8\u30e5\u30fc\u30eb\uff08\u81ea\u5206\u72ec\u81ea\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u3092\u81ea\u5206\u3067\u4f5c\u308b\u4f53\u9a13\u3092\u3059\u308b\u3068\u3001<br \/>\n\u305d\u306e\u30af\u30e9\u30b9\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u306a\u304b\u306b\u304a\u3044\u3066\u3001<br \/>\n\u300cFunciton \u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u3044\u3046\u30bf\u30a4\u30d7\u306e\u81ea\u4f5c\u95a2\u6570\u3092\u4f5c\u3063\u305f\u5834\u5408\u306f\u3001<br \/>\n\u300c\u5024\u3092\u8fd4\u3059\u30e1\u30bd\u30c3\u30c9\uff1d\u3053\u3053\u3067\u306e(c)\u300d\u3068\u3057\u3066\u81ea\u52d5\u8a8d\u8b58\u3055\u308c\u3001<br \/>\n\u300cSub \u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u3044\u3046\u30bf\u30a4\u30d7\u306e\u81ea\u4f5c\u95a2\u6570\u3092\u4f5c\u3063\u305f\u5834\u5408\u306f\u3001<br \/>\n\u300c\u5024\u3092\u8fd4\u3055\u306a\u3044\u30e1\u30bd\u30c3\u30c9\uff1d\u3053\u3053\u3067\u306e(e)\u300d\u3068\u3057\u3066\u81ea\u52d5\u8a8d\u8b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300cPivotTables\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u300cPivotTables\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3092\u8fd4\u3059\uff1d\u30b2\u30c3\u30c8\u3059\u308b\u547d\u4ee4\u3067\u3059\u304c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3067\u8abf\u3079\u308b\u3068\u3001\u305d\u306e\u8aac\u660e\u30da\u30a4\u30f3\u306b\u306f\u300cFunction\u300d\u3068\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3053\u304b\u3089\u3001\u300c\u3042\uff01PivotTables\u30e1\u30bd\u30c3\u30c9\u306e\u5b9f\u4f53\u306f Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306a\u3093\u3060\uff01\u300d\u3068\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u2605\u2605\u2605 (d)\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u300d\u3092\u3057\u3064\u3064\u3001\u540c\u6642\u306b\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u3082\u8fd4\u3059\u300d\u81ea\u4f5c\u95a2\u6570<\/p>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u64cd\u4f5c\u3092\u542b\u3080\u30bf\u30a4\u30d7\u306e\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u304c\u3067\u304d\u308b\u30bf\u30a4\u30d7\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30fb\u30fb\u30fb<br \/>\n\u4f8b\u3048\u3070\u3001\u30b7\u30fc\u30c8\u3084\u30d6\u30c3\u30af\u3084\u691c\u7d22\u6761\u4ef6\u3084\u30bb\u30eb\u7bc4\u56f2\u306e\u540d\u524d\u5b9a\u7fa9\u3084\u3001\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\u3001\u30d4\u30dc\u30c3\u30c8\u3001\u30af\u30a8\u30ea\u3001\u306a\u3069\u306a\u3069\u30fb\u30fb\u30fb\u3092\u675f\u306d\u3066\u3044\u308b\u3001<br \/>\n\u300c\u5404\u7a2e\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306e<br \/>\n\u300cAdd\u30e1\u30bd\u30c3\u30c9\u300d\u3084<br \/>\n\u300cOpen\u30e1\u30bd\u30c3\u30c9\u300d\u306a\u3069\u306a\u3069\u30fb\u30fb\u30fb<br \/>\n\u306b\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>\u65b0\u898f\u8ffd\u52a0\u3059\u308b\u3001\u958b\u304f\u3001\u306a\u3069\u306e\u52d5\u304d\u3092\u53d6\u308a\u306a\u304c\u3089\u3001\u540c\u6642\u306b\u3001\u305d\u306e\u65b0\u898f\u8ffd\u52a0\u3084\u958b\u3044\u305f\u30e2\u30ce\u3092\u3001<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u5074\u306b\u300c\u8fd4\u3059\u300d\u52d5\u304d\u3092\u3057\u307e\u3059\u3002<br \/>\n\uff08Open\u306b\u3064\u3044\u3066\u306f\u300c\u958b\u304f\u300d\u3068\u3044\u3046\u52d5\u304d\u304c\u3067\u304d\u308b\u30e2\u30ce\u306e\u307f\u3002\uff09<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3042\u3068\u306fCreateObject\u95a2\u6570\u3068\u304b\u3001GetUbject\u95a2\u6570\u306a\u3069\u306eVBA\u95a2\u6570\u3082\u540c\u3058\u3088\u3046\u306a\u52d5\u304d\u3092\u3057\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u2605\u2605\u2605 (e)\u4f55\u3082\u8fd4\u3055\u305a\u306b\u3001\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u300d\u3060\u3051\u3092\u3059\u308b\u81ea\u4f5c\u95a2\u6570<\/p>\n<p>\u4f55\u3082\u8fd4\u3055\u306a\u3044\u30e1\u30bd\u30c3\u30c9\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u3001\u306a\u3069\u3002<\/p>\n<p>\u57fa\u672c\u3001\u3053\u3053\u306b\u306f\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u3001\uff11\u3064\u3082\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\uff08\u591a\u5206\u3067\u3059\u304c\u3001\u7121\u3044\u3001\u3068\u601d\u3044\u307e\u3059\u3002\u3082\u3057\u304b\u3057\u305f\u3089\u4f8b\u5916\u304c\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\uff09<\/p>\n<p>\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\uff08\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3088\u3046\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\uff09\u300d\u306b\u306f\u3001\u5236\u5fa1\u30d5\u30ed\u30fc\u7cfb\u3060\u3051\u3067\u306f\u306a\u304f\u3001\uff08\u30e1\u30bd\u30c3\u30c9\u3081\u3044\u305f\uff09\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u7cfb\u3001\u30d5\u30a9\u30eb\u30c0\u64cd\u4f5c\u7cfb\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u64cd\u4f5c\u7cfb\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u64cd\u4f5c\u7cfb\u3001\u306a\u3069\u3001\u8272\u3005\u3068\u3042\u308a\u3001\u5f15\u6570\u3092\u6301\u3064\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001<br \/>\nAppActivate \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u306e AppActivate\u30ad\u30fc\u30ef\u30fc\u30c9\uff08\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u306e\u3072\u3068\u3064\uff09\u3084\u3001<br \/>\nSendKeys \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u306e SendKeys\u30ad\u30fc\u30ef\u30fc\u30c9\uff08\u3053\u308c\u3082\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u306e\u3072\u3068\u3064\uff09\u306b\u306f\u3001<br \/>\n\u300c\u5f15\u6570\u300d\u3082\u3042\u3063\u305f\u308a\u3057\u3066\u3001\u307e\u3059\u307e\u3059\u3001\u30e1\u30bd\u30c3\u30c9\u3081\u3044\u3066\u3044\u307e\u3059<\/p>\n<p>\u3053\u308c\u3089\u304c\u300e \u306a\u3093\u3067\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u300d\u306a\u306e\u304b\uff1f \u300f\u826f\u304f\u5206\u304b\u308a\u307e\u305b\u3093\u3051\u3069\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u300d\u306e\u306a\u304b\u306b\u306f\u3001\u306a\u305c\u304b\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u300d\u306b\u8f09\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308a\u3001\u305d\u308c\u306f\u300cCall\u300d\u3067\u547c\u3073\u51fa\u305b\u305f\u308a\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070<br \/>\n\u300cSendKeys\u300d\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\uff08\uff1d\u300cSendKeys\u300d\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4f7f\u3063\u305f\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\uff09\u306f\u3001<br \/>\nSendKeys(\"{Enter}\")<br \/>\n\u306a\u3069\u3068\u66f8\u3044\u3066\u52d5\u4f5c\u3055\u305b\u307e\u3059\u304c\u3001<br \/>\n\u300cSendKeys\u300d\u306f\u3001<br \/>\nCall SendKeys(\"{Enter}\")<br \/>\n\u3068\u300cCall\u300d\u3092\u4f7f\u3063\u3066\u3082\u547c\u3073\u51fa\u305b\u307e\u3059\u3002<\/p>\n<p>\u3068\u3063\u3066\u3082\u3001\u30e1\u30bd\u30c3\u30c9\u7684\u3001\u95a2\u6570\u7684\u3001\u3067\u3059\u3002<\/p>\n<p>\u540c\u69d8\u306b\u3001<br \/>\nChDir\u3001ChDrive\u3001Kill\u3001\u306a\u3069\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3082\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u7528\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306a\u306e\u306b\u3001\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306b\u3082\u8f09\u3063\u3066\u304a\u308a\u3001\u305d\u306e\u8aac\u660e\u30da\u30a4\u30f3\u306b\u300cSub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3060\u3088\uff01\uff1f\u300d\u3068\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u3053\u308c\u3082SendKeys\u3084AppActivate \u540c\u69d8\u3001\u306a\u305c\u304b\u300cCall\u300d\u3067\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b\u3068\u5206\u304b\u308a\u307e\u3059\u304c\u3001\u30a8\u30e9\u30fc\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002<br \/>\n\u7406\u7531\u306f\u3001\u308f\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30d7\u30ed\u306e\u4eba\u306b\u805e\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u7406\u7531\u3092\u77e5\u3089\u306a\u3044\u30d7\u30ed\u306e\u65b9\u3082\u5c45\u308b\u3067\u3057\u3087\u3046\u3051\u3069\u30fb\u30fb\u30fb\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u4ee5\u4e0a\u306e\u81ea\u4f5c\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u306b\u3064\u3044\u3066\u3082\u3001\u4e0a\u8a18\u306e\u300c\uff15\u3064\u306e\u52d5\u304d\u300d\u300c\uff15\u3064\u306e\u81ea\u4f5c\u95a2\u6570\u300d\u306e\u3069\u308c\u304b\u3001\u306b\u3042\u3066\u306f\u307e\u308a\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3059\u307f\u307e\u305b\u3093\u3001\u4ee5\u964d\u306e\u300c\u2605\u2605\u2605\u2605\u2605\u3000\u66f4\u306b\u3001\u91cd\u8981\u306a\u88dc\u8db3\u3000\u2605\u2605\u2605\u2605\u2605\u300d\u306e\u3053\u3068\u3092\u66f8\u3044\u305f\u306e\u3067\u3001\u81ea\u5206\u81ea\u8eab\u304c\u96fb\u6c60\u5207\u308c\u3067\u3001\u3053\u3053\u307e\u3067\u3057\u304b\u3001\u307e\u3068\u3081\u76f4\u305b\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u3067\u3082\u3001\u30e1\u30a4\u30f3\u3069\u3053\u308d\u306f\u304a\u304a\u3080\u306d\u3001\u307e\u3068\u3081\u76f4\u305b\u305f\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u3082\u3057\u3054\u53c2\u8003\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<br \/>\n\u2605\u2605\u2605\u2605\u2605\u3000\u66f4\u306b\u3001\u91cd\u8981\u306a\u88dc\u8db3\u3000\u2605\u2605\u2605\u2605\u2605<\/p>\n<p>\u203b \u3053\u3053\u6700\u8fd1\u601d\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001<br \/>\nVBA\u306e\u3059\u3079\u3066\u306e\u547d\u4ee4\u306f\u3001\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u3068\u300c\u975e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u306b\u5206\u3051\u3066\u8003\u3048\u308b\u306e\u3082\u610f\u5916\u3068\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u3068\u3044\u3046\u306e\u3082\u3001\u300e \u6f14\u7b97\u5b50\u3001\u5404\u7a2e\u95a2\u6570\u3001WorksheetFunction\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30a4\u30d9\u30f3\u30c8\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u3001\u5b9a\u6570\uff08\u5217\u6319\u306b\u542b\u307e\u308c\u308b\uff09\u3001API\u3001etc \u300f\u306a\u3069\u306e\u3001\u300c\u3059\u3079\u3066\u306eVBA \u306e \u201d \u7d44\u307f\u8fbc\u307f\u306e \u201d \u547d\u4ee4\u300d\u306e\u3046\u3061\u3001\u305d\u306e\uff17\u5272\u4ee5\u4e0a\u306f\u3069\u3046\u3084\u3089\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u3063\u307d\u3044\u3089\u3057\u304f\u3001\u305d\u306e\u52d5\u304d\u3082\u4f5c\u308a\u65b9\u3082\u547c\u3073\u51fa\u3057\u65b9\u3082\u3001\u4f55\u3082\u304b\u3082\u304c\u300c\u3088\u304f\u4f3c\u3066\u3044\u308b\u300d\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u9006\u306e\u65b9\u5411\u304b\u3089\u898b\u308b\u3068\u3001<br \/>\n\u300c\u4e00\u756a\u6700\u521d\u306b\u300d<br \/>\n\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u3044\u3046\u30e2\u30ce\u306e\u3053\u3068\u3092\u3001<br \/>\n\u3000\u3000\u305d\u306e\u3001\u4f5c\u308a\u65b9\u3001\u52d5\u304d\uff08\u524d\u8ff0\u306e\uff15\u3064\u306e\u52d5\u304d\uff09\u3001\u547c\u3073\u51fa\u3057\u65b9\u3001\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306e\u4f7f\u3044\u65b9\u3001<br \/>\n\u3000\u3000ByVal\/ByRef\u306e\u7701\u7565\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u30fb\u30e1\u30bd\u30c3\u30c9\u30fb\u30af\u30e9\u30b9\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306e\u95a2\u4fc2\u6027\u3001<br \/>\n\u3000\u3000\u4fbf\u5229\u3055\u3001\u305d\u306e\u4ed6\u8af8\u3005\u3001\u3092\u3001<br \/>\n\u300c\u6df1\u304f\u5b66\u3093\u3067\u304a\u3051\u3070\u300d\u3001<br \/>\n\u307e\u305f\u3001<br \/>\n\u300c\u8fd4\u3059\u30fb\u8a55\u4fa1\u30fb\u5f0f\u300d\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3001\u300c \u201d \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059 \u201d \u306e\u610f\u5473\u300d<br \/>\n\u3092\u3061\u3083\u3093\u3068\u5b66\u3079\u3070\u3001<br \/>\n\u300cVBA\u306e\uff19\u5272\u4ee5\u4e0a\u306e\u547d\u4ee4\u5358\u8a9e\u306e\u3053\u3068\u3092\u7406\u89e3\u3067\u304d\u308b\u300d<br \/>\n\u3068\u304b\u3001<br \/>\n\u300c\u771f\u306e\u57fa\u672c\u306e \u201d \u30af\u30e9\u30b9\u30e2\u30b8\u30e5\u30fc\u30eb \u201d \u306e\u81ea\u4f5c\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u81ea\u4f5c\u3067\u304d\u308b\u300d<br \/>\n\u7b49\u3005\u306e\u3001<br \/>\n\u300c\u305d\u306e\u7d20\u5730\u3092\u300d\u3001<br \/>\n\u300c\u6bd4\u8f03\u7684\u3001\u77ed\u671f\u9593\u306e\u3046\u3061\u306b\u300d<br \/>\n\u300c\u3064\u304f\u308c\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u306a\u308b\u300d\u3068\u3044\u3046\u3001\u305d\u3046\u3044\u3046\u3001<br \/>\n\u300c\u30e1\u30ea\u30c3\u30c8\u304c\u751f\u307e\u308c\u308b\u300d<br \/>\n\u3068\u3082\u601d\u3046\u304b\u3089\u3067\u3059\u3002<\/p>\n<p><span style=\"color: #32cd32;\"><b>\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306f\u300cSub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3068\u300cFunction\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u300cProperty\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306e\uff13\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>VBA\u306e\uff17\u5272\u4ee5\u4e0a\u306e\u547d\u4ee4\u5358\u8a9e\u306f\u3001\u3053\u308c\u3089\u306e\uff13\u3064\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u3046\u3061\u306e\u3069\u308c\u304b\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\uff1d\u4f5c\u3089\u308c\u3066\u3044\u308b\u3063\u307d\u3044\u3067\u3059\u3002<\/b><\/span><\/font><br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #7401DF;\"><b>\uff08\u4f5c\u3089\u308c\u305f\u3042\u3068\u306e\u300c\u52d5\u304d\u300d\u3068\u3057\u3066\u306f\u3001\u524d\u8ff0\u306e(a)\uff5e(e)\u306e\u300c\uff15\u3064\u300d\u306e\u52d5\u304d\u306b\u5206\u985e\u3055\u308c\u307e\u3059\u304c\u3002\uff09<\/b><\/span><\/font><\/b><\/span><br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #ff0000;\"><b>\u307e\u305f\u3001\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u5358\u8a9e\u305f\u3061\u306f\u3001\u57fa\u672c\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u300d\u306b\u8f09\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3067\u691c\u7d22\u3057\u3066\u51fa\u3066\u304f\u308b\u547d\u4ee4\u5358\u8a9e\u306f\u5168\u90e8\u3001\u300c\u95a2\u6570\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u4e00\u90e8\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u300d\u306a\u3069\u306e\u30ab\u30c6\u30b4\u30e9\u30a4\u30ba\u306e\u5dee\u7570\u306f\u3042\u308a\u307e\u3059\u3082\u306e\u306e\u3001\u3067\u3082\u3001\u5168\u90e8\u3001\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u3068\u6349\u3048\u3066\u826f\u3044\u3001\u3068\u601d\u3044\u307e\u3059\u3002<BR><br \/>\n\u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001\u50d5\u304c\u3001\u547d\u4ee4\u5358\u8a9e\u305f\u3061\u3092\u300c\uff15\u3064\u306e\u52d5\u304d\u300d\u3067\u30ab\u30c6\u30b4\u30e9\u30a4\u30ba\u3057\u3066\u3044\u308b\u3044\u308b\u7406\u7531\u306f\u3001\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u300d\u304c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306b\u8f09\u3063\u3066\u305f\u308a\u8f09\u3063\u3066\u306a\u304b\u3063\u305f\u308a\u3001\u307e\u305f\u300cCall\u300d\u3067\u300c \u201d \u547c\u3073\u51fa\u305b\u3061\u3083\u3046 \u201d \u3082\u306e\u3082\u3042\u3063\u305f\u308a\u300d\u3001\u3068\u3001\u7d50\u69cb\u3044\u3044\u304b\u3052\u3093\uff1f\u3067\u30cf\u30c3\u30ad\u30ea\u3068\u3057\u305f\u533a\u5225\u304c\u3064\u3051\u3089\u308c\u306a\u3044\u304b\u3089\u3001\u300c\u3069\u3046\u533a\u5206\u3057\u3066\u3044\u3044\u304b\u5206\u304b\u3089\u306a\u3044\u304b\u3089\u30fb\u30fb\u30fb\u300d\u3068\u3044\u3046\u306e\u3082\u7406\u7531\u306e\u4e00\u3064\u3067\u3059\u3002<br \/>\n\u3082\u3061\u308d\u3093\u3001\u4e00\u756a\u5927\u304d\u306a\u7406\u7531\u306f\u3001\u300c\u5024\u3092\u8fd4\u3059\u30fb\u8fd4\u3055\u306a\u3044\u300d\u304c<span style=\"color: #0000ff;\">\u300e \u300c\u5f0f\u300d\u3068\u3044\u3046\u300c\u5358\u4f4d\u300d\u3067\u30e2\u30ce\u3092\u8003\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\uff08\u305d\u3053\u3078\u3064\u306a\u304c\u308a\u3084\u3059\u304f\u306a\u308a\uff09\u3001\u300c\u8fd4\u3059\u300d\u3084\u300c\u8a55\u4fa1\u300d\u3067\u300c\u578b\u306e\u78ba\u5b9a\u300d\u3092\u660e\u78ba\u5316\u3067\u304d\u308b \u300f\u305f\u3081\u3001\u300c\u7121\u99c4\u306a\u30a8\u30e9\u30fc\u3092\u6fc0\u6e1b\u3067\u304d\u308b\u300d\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u304b\u3089<\/span>\u3068\u3001\u307e\u305f\u3001<span style=\"color: #32cd32;\">\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u30fb\u8fd4\u3055\u306a\u3044\u300d\u3001\u306a\u3069\u304c\u300c \u201d VBA\u306e\u771f\u306e\u30b9\u30bf\u30fc\u30c8\u30e9\u30a4\u30f3\u306e\uff11\u3064 \u201d \u3067\u3042\u308b\u304b\u3089\u300d\u3001<\/span>\u3068\u3044\u3046\u306e\u3082\u7406\u7531\u3067\u3059\u3051\u3069\u3002<br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #000000;\"><b>\u3042\u3068\u3001ExcelVBA\u306e\u30d7\u30ed\u306e\u5974\u3089\u306e\u8aac\u660e\u3082\u300c\u30cf\u30c3\u30ad\u30ea\u3057\u306a\u3044\u3057\u30e1\u30c1\u30e3\u30af\u30c1\u30e3\u3067\u3044\u3044\u304b\u3052\u3093\u300d\u3068\u3044\u3046\u306e\u3082\u300c\u304b\u306a\u308a\u300d\u5927\u304d\u306a\u7406\u7531\u3067\u3059\u3002\u81ea\u5206\u3067\u8a00\u3046\u306e\u3082\u306a\u3093\u3067\u3059\u304c\u3001VBA\u306e\u547d\u4ee4\u305f\u3061\u306f\u3001\u524d\u8ff0\u306e\u300c\uff15\u3064\u306e\u52d5\u304d\u300d\u3084\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u304b\u5426\u304b\uff1f\u300d\u306a\u3069\u3067\u5206\u985e\u3059\u308b\u65b9\u304c\u307e\u3060\u300c\u307e\u3068\u3082\u300d\u3001\u304f\u3089\u3044\u306b\u3059\u3089\u601d\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u304f\u3089\u3044\u3001\u300c\u30d7\u30ed\u306e\u5974\u3089\u300d\u3092\u4fe1\u7528\u3057\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3042\u3044\u3064\u3089\u306e\u8aac\u660e\u3058\u3083\u3001\u30af\u30e9\u30b9\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u4f5c\u308c\u3066\u3082\u306a\u304b\u306a\u304b\u672c\u8cea\u3092\u7406\u89e3\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u3042\u3044\u3064\u3089\u306e\u8aac\u660e\u3058\u3083\u3001\u5206\u304b\u3063\u305f\u6c17\u306b\u3055\u305b\u3089\u308c\u308b\u3060\u3051\uff08\u3042\u308b\u610f\u5473\u9a19\u3055\u308c\u308b\u3060\u3051\uff09\u3067\u3001\u3067\u3082\u7d50\u5c40\u3001\u300c\u30d8\u30eb\u30d7\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3082\u8aad\u3081\u308b\u3088\u3046\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u300d\u3002\u7d50\u679c\u3001\u3059\u3050\u306b\u3001\u307e\u305f\u884c\u304d\u8a70\u3063\u3066\u3001\u308f\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u3001\u3057\u307e\u3044\u307e\u3059\u3002\u300c\u3082\u3057\u304b\u3057\u3066\u30ab\u30e2\u3089\u308c\u3066\u308b\u3060\u3051\uff1f\u300d\u3068\u52d8\u7e70\u308a\u305f\u304f\u306a\u308b\u307b\u3069\u3067\u3059\u3002<br \/>\n\u5f53\u7136\u3001\u300c\u5fdc\u7528\u300d\u306a\u3069\u300c\u3067\u304d\u308b\u308f\u3051\u304c\u3042\u308a\u307e\u305b\u3093\u300d\u3002<br \/>\n\u3060\u304b\u3089\u3001\u77e5\u6075\u888b\u3067\u3082\u3001\u4eca\u56de\u50d5\u304c\u3057\u305f\u56de\u7b54\u3068\u305d\u306e\u8cea\u554f\u304c\u3001700\u95b2\u89a7\u4ee5\u4e0a\u3092\u3057\u3066\u3082\u3089\u3048\u305f\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\uff08\u3082\u3061\u308d\u3093\u3001\u30a8\u30e9\u305d\u3046\u306a\u3053\u3068\u8a00\u3063\u305f\u3068\u3053\u308d\u3067\u30fb\u30ec\u30b8\u30a7\u30f3\u30c9\u305f\u3061\u306b\u6587\u53e5\u3092\u8a00\u3063\u305f\u3068\u3053\u308d\u3067\u3001\u3001\u300c\uff15\u3064\u306e\u52d5\u304d\u300d\u3001\u306a\u3093\u3066\u3053\u3068\u3060\u3063\u3066\u3001\u7d50\u5c40\u306f\u3001\u6c7a\u3057\u3066\u5206\u304b\u308a\u3084\u3059\u304f\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u3051\u3069\u30fb\u30fb\u30fb\u30fb\u3002\u3067\u3082\u3001Vlookup\u95a2\u6570\u3059\u3089\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u300cExcel\u4e00\u822c\u64cd\u4f5c\u3082\u305d\u306eVBA\u3082\u300d\u300c\u521d\u5fc3\u8005\u30ec\u30d9\u30eb\u306e\u50d5\u300d\u3060\u3063\u3066\u3001\u30d8\u30eb\u30d7\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u8aad\u3081\u3070\u3053\u3053\u307e\u3067\u308f\u304b\u308b\u306e\u306b\u3001\u306a\u3093\u3067\u30d7\u30ed\u306e\u5974\u3089\u306f\u3082\u3063\u3068\u672c\u5f53\u306e\u3053\u3068\u3084\u300c\u7d20\u4eba\u304c\u30d8\u30eb\u30d7\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3092\u3059\u3050\u306b\u8aad\u3081\u308b\u3088\u3046\u306b\u3059\u308b\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u8003\u3048\u65b9\u300d\u3092\u6559\u3048\u3088\u3046\u3068\u3057\u306a\u3044\u3093\u3067\u3059\u304b\u306d\uff1f\u672c\u5f53\u306b\u7406\u89e3\u306b\u82e6\u3057\u307f\u307e\u3059\u3002\u30d7\u30ed\u3060\u306a\u3093\u3066\u8a00\u3063\u3066\u300c\u3057\u3087\u307c\u3002\u30a8\u30e9\u305d\u3046\u306b\u3002\u81ea\u79f0\u3058\u3083\u306a\u3044\uff1f\u300d\u3068\u52d8\u7e70\u308a\u305f\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff09<\/b><\/span><\/font><\/b><\/span><\/font><BR><br \/>\n\u3068\u308a\u3042\u3048\u305a\u3001VBA\u306e\u3059\u3079\u3066\u306e\u547d\u4ee4\u5358\u8a9e\u306e\u3046\u3061\u3001\u300c\u307b\u3068\u3093\u3069\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306b\u8f09\u3063\u3066\u3044\u306a\u3044\u30e2\u30ce\uff09\u300d\u3068\u300c\u6f14\u7b97\u5b50\u300d\u306f\u3001\u300c\u660e\u78ba\u306b\u300d\u3001\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u3067\u306f\u306a\u3044\u300d\u3063\u307d\u3044\u3001\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u300c\u5b8c\u5168\u306a\u308b\u300d\u300c\u975e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u3063\u307d\u3044\u3067\u3059\u3002<br \/>\n\uff08\u307e\u3042\u3001\u5b9f\u306f\u305d\u308c\u306f\u300c\u9593\u9055\u3044\u300d\u3067\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u30fb\u30fb\u30fb\uff09<\/p>\n<p>\u300cCall\u5229\u7528\u3084Let\u5229\u7528\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u5229\u7528\u3001\u306a\u3069\u3067\u306f\u547c\u3073\u51fa\u305b\u306a\u3044\u300d\u3001\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u305f\u3061\u304b\u3089\u306f\u9664\u5916\u3055\u308c\u305f\u300d\u3001\u305d\u3046\u3044\u3046\u547d\u4ee4\u30fb\u30fb\u30fb\u3001\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u300c\u975e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u3067\u3042\u3063\u3066\u3082\u3001\u524d\u8ff0\u306e\uff15\u3064\u306e\u52d5\u304d\u3001\u306e\u300c\u3069\u308c\u304b\u300d\u306b\u306f\u3042\u3066\u306f\u307e\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u3053\u306f\u8aa4\u89e3\u30fb\u932f\u899a\u306e\u3054\u3056\u3044\u307e\u305b\u3093\u3088\u3046\u3001\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002<br \/>\n\uff08\u203b\u305f\u3060\u3057\u3001\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u300d\u306e\u306a\u304b\u306b\u306f\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u300d\u306b\u8f09\u3063\u3066\u3044\u308b\u30e2\u30ce\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u306f\u300cCall\u300d\u3067\u547c\u3073\u51fa\u305b\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u306a\u306e\u3067\u305d\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u306f\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\uff09<\/p>\n<p>\u3044\u3063\u307d\u3046\u3001\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u306b\u306f\u3001\u524d\u8ff0\u306e\u3068\u304a\u308a\u3001\u5404\u7a2e\u95a2\u6570\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u307f\u3093\u306a\u52d5\u304d\uff08\uff1d\u524d\u8ff0\u306e\u300c\uff15\u3064\u306e\u52d5\u304d\u300d\uff09\u3084\u3001\u4f7f\u3044\u65b9\uff08\uff1d\u30ab\u30c3\u30b3\u3084\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306e\u4f7f\u3044\u65b9\u306a\u3069\uff09\u3001\u306e\u30eb\u30fc\u30eb\u306f\u540c\u3058\u3067\u3059\u3002<br \/>\n\uff08\u547c\u3073\u51fa\u3057\u65b9\u3060\u3051\u306f\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306e\u5834\u5408\u306f\u5c11\u3057\u7570\u306a\u308a\u307e\u3059\u304c\u3002\uff09<\/p>\n<p>\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u3084\u5217\u6319\uff08Enum\uff09\u306b\u542b\u307e\u308c\u308b\u300c\u5b9a\u6570\u300d\u306a\u3069\u306f\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3084\u6f14\u7b97\u5b50\u3088\u308a\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5bc4\u308a\u3001\u3068\u3044\u3044\u307e\u3059\u304b\u3001\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u5bc4\u308a\u3068\u3044\u3044\u307e\u3059\u304b\u3001\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306b\u8fd1\u3044\u300d\u547d\u4ee4\u5358\u8a9e\u3067\u3059\u3002<br \/>\n\u304c\u3001Sub\u3084Function\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u3088\u3046\u306bCall\u3067\u306f\u547c\u3073\u51fa\u3059\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u300c\u975e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u300d\u306b\u5206\u985e\u3057\u3066\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\uff08\u3067\u3082\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u306f\u81ea\u4f5c\u3067\u304d\u308b\u306e\u3067\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u300d\u304b\u3082\uff1f\u3061\u3087\u3063\u3068\u826f\u304f\u5206\u304b\u308a\u307e\u305b\u3093\u3002\u81ea\u5206\u3060\u3051\u306e\u52dd\u624b\u306a\u5206\u985e\u306a\u306e\u3067\u3001\u306a\u3093\u3068\u3082\u3044\u3048\u307e\u305b\u3093\u30fb\u30fb\u30fb\u30fb\uff09<\/p>\n<p>\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u306f\u3001\u591a\u5206\u3001\u5168\u90e8\u3001\u300cCall\u5229\u7528\u3084Let\u5229\u7528\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u5229\u7528\u3001\u3067\u300d\u547c\u3073\u51fa\u305b\u308b\uff1d\u3001\u300cCall\u5229\u7528\u30fb\u3042\u308b\u3044\u306f\u30fbLet\u5229\u7528\u30fb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u5229\u7528\u3001\u7b49\u3005\u3067\u300d\u547c\u3073\u51fa\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u3001\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u540d\u300d\u3068\u300c\u6f14\u7b97\u5b50\u300d\u306f\u3001\u300cCall\u5229\u7528\u30fb\u3042\u308b\u3044\u306f\u30fbLet\u5229\u7528\u30fb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u5229\u7528\u3001\u7b49\u3005\u3067\u300d\u547c\u3073\u51fa\u3059\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u57fa\u672c\u3001\u300cSub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306f\u3001\u300cCall\u5229\u7528\u300d\u3060\u3051\u3067\u547c\u3073\u51fa\u305b\u307e\u3059\u3002<br \/>\n\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u3082\u3001\u300cCall\u300d\u3060\u3051\u3067\u547c\u3073\u51fa\u305b\u307e\u3059\u3002<br \/>\n\u300cCall\u300d\u3067\u547c\u3073\u51fa\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u3067\u3059\u3002<br \/>\n\u30e1\u30bd\u30c3\u30c9\u3082\u300cCall\u300d\u300c\u3060\u3051\u3067\u300d\u3068\u306f\u8a00\u3044\u307e\u305b\u3093\u304c\u3001\u300cCall\u300d\u3067\u547c\u3073\u51fa\u305b\u308b\u3063\u307d\u3044\u3067\u3059\u3002<br \/>\n\uff08\u30e1\u30bd\u30c3\u30c9\u306e\u5834\u5408\u3001\u300cCall\u300d\u3068\u5171\u306b\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u304c\u8ffd\u52a0\u3067\u5fc5\u8981\u3067\u3059\u304c\u3001\u3067\u3082\u3001\u300cCall\u300d\u30d9\u30fc\u30b9\u3067\u547c\u3073\u51fa\u305b\u308b\u3053\u3068\u306b\u306f\u9055\u3044\u306f\u3042\u308a\u307e\u305b\u3093\u3002\uff09<br \/>\n\u305d\u3082\u305d\u3082\u300cCall\u300d\u3068\u3044\u3046\u547d\u4ee4\u306f\u3001\u300cSub\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068Function\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3092\u547c\u3073\u51fa\u3059\u305f\u3081\u300c\u3060\u3051\u300d\u306e\u547d\u4ee4\u5358\u8a9e\u306a\u306e\u3067\u3001\u3088\u3063\u3066\u3001\u9006\u306b\u3001\u300cCall\u3092\u4f7f\u3063\u3066\u547c\u3073\u51fa\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u300d\u306a\u3089\u3001<br \/>\n\u300c\u305d\u306e\u547d\u4ee4\u306e\u5b9f\u4f53\u306f\u300d\u3001<br \/>\n\u300cSub \u304b Function \u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3067\u306f\uff1f\u300d<br \/>\n\u3068\u8a00\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u66f4\u306b\u8a00\u3046\u3068\u3001\u4f8b\u3048\u3070\u300c.dll\u300d\u3068\u3044\u3046\u62e1\u5f35\u5b50\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u3001\u4f8b\u3048\u3070\u300cVB6\uff08VisualBasic\uff16\uff09\u300d\u306a\u3069\u3067\u81ea\u4f5c\u3059\u308b\u6642\u3082\uff08ActiveXDll\u3001COM\u30bf\u30a4\u30d7\uff1f\u306eDll\u306e\u307f\uff09\u3001\u4e2d\u8eab\u306b\u3001\u300cSub \u3084 Function \u306a\u3069\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u66f8\u3044\u3066\u300d\u3001\u4f5c\u308a\u307e\u3059\u3002<br \/>\n\uff08\u53c2\u8003Web\u8a18\u4e8b\uff10\uff11 \u2192 <a href=\"https:\/\/euc-access-excel-db.com\/00000WPPDF\/activex-dll-make.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">VBA\u3067\u4f7f\u3048\u308bDLL\u306e\u4f5c\u6210\u65b9\u6cd501\uff08VB6\u3067\u306e\u300cActiveXDll\uff1dVBA \u306e\u53c2\u7167\u8a2d\u5b9a\u3067\u4f7f\u3048\u308bDll\u300d\u306e\u4f5c\u6210\u3002Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u306f\u547c\u3073\u3060\u305b\u306a\u3044\u30e2\u30ce\u3002VB6\u3067\u4f5c\u3063\u305f\u3082\u306e\u306fExcel2000\u3067\u4f7f\u3048\u307e\u3059\u304c2010\u306a\u3069\u3067\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\uff09<\/a>\uff09<br \/>\n\u305d\u308c\u3089\u3092\u300c\u53c2\u7167\u8a2d\u5b9a\u300d\u306a\u3069\u3092\u3059\u308b\u3068\u3001\u305d\u306e\u300c.dll\u300d\u306e\u4e2d\u306b\u66f8\u3044\u305f\u300cSub\u304bFunction\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3092\u3001\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u3088\u3046\u306b\u300cCall\u300d\u3067\u547c\u3073\u51fa\u3057\u3066\u4f7f\u3048\u307e\u3059\u3002<br \/>\n\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u306edll\u3067\u306f\u3001\u300cDebug.Print \u300d\u3067\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u4e8b\u4f8b\u3060\u3051\u3067\u3059\u304c\u3001\u591a\u5206\u3001\u300cCall\u300d\u3067\u3082\u547c\u3073\u51fa\u305b\u308b\u306f\u305a\u3067\u3059\u3002<br \/>\n<\u53c2\u8003\u56f3><br \/>\n<a href=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2021-04-05---02-54-54.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2021-04-05---02-54-54.jpg\" alt=\"\" width=\"100%\" height=\"100%\" ><\/a><br \/>\n \u2191 \u3067\u3082\u305f\u3076\u3093\u3001\u3053\u308c\u306f\u300c\u95a2\u6570\u300d\u3067\u306f\u306a\u304f\u3066\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3067\u3059\u306d\u3002\u305f\u3076\u3093\u3002\u300c\u95a2\u6570\u300d\u306a\u3089\u591a\u5206\u30af\u30e9\u30b9\u306e\u5217\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u300c\u30e2\u30b8\u30e5\u30fc\u30eb\u30a2\u30a4\u30b3\u30f3\u300d\u3058\u3083\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u6c17\u304c\u3059\u308b\u306e\u3067\u30fb\u30fb\u30fb\u3002\u3053\u308c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30a2\u30a4\u30b3\u30f3\u3060\u304b\u3089\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u4e00\u7dd2\u3058\u3083\u306a\u3044\u3068\u52d5\u3051\u306a\u3044\u95a2\u6570\u3081\u3044\u305f\u3082\u306e\u306b\u76f8\u5f53\u3059\u308b\u300d\u306e\u3067\uff1d\u30e1\u30bd\u30c3\u30c9\u30fb\u30fb\u30fb\u3067\u3059\u3088\u306d\u3002\u304d\u3063\u3068\u3002\u307e\u305f\u3001\u3053\u308c\u306f\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u3068\u3057\u3066\u306f\u4f7f\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u306a\u306e\u3067\u4f59\u8a08\u306b\u300c\u95a2\u6570\u3058\u3083\u306a\u3044\u300d\u3063\u307d\u3044\u3067\u3059\u306d\u3002\uff09<\/p>\n<p>\u4e0a\u8a18\u306eDLL\u306e\u4e2d\u8eab\u306e\u30b3\u30fc\u30c9\u3002\u2193<br \/>\n\u2193Excel\u3060\u3051\u3067\u306a\u304f\u3001Word\u304b\u3089\u3082Access\u304b\u3089\u3082\u4f7f\u3048\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2021-04-05---10-52-57.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2021-04-05---10-52-57.jpg\" alt=\"\" width=\"100%\" height=\"100%\" ><\/a><\/p>\n<p>\uff08\u53c2\u8003Web\u8a18\u4e8b\uff10\uff12 \u2192 <a href=\"https:\/\/balard.sakura.ne.jp\/vb\/vbdll.php\" target=\"_blank\" rel=\"noopener noreferrer\">VBA\u3067\u4f7f\u3048\u308bDLL\u306e\u4f5c\u6210\u65b9\u6cd502\uff08Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u547c\u3073\u3060\u305b\u308b\u30e2\u30ce\u3002\u306e\u4f5c\u6210\u3002\uff09<\/a> \u203bDeclare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u547c\u3073\u51fa\u3059\u30bf\u30a4\u30d7\u306eDLL\uff08API\uff1f\uff09\u306f Call\u3067\u304d\u308b\u304b\u3061\u3087\u3063\u3068\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u3082\u3061\u308d\u3093\u3067\u304d\u308b\u30e2\u30ce\u3082\u3042\u308a\u307e\u3059\uff08\u666e\u901a\u306f\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3088\u306d\uff1f\uff09\u3002\u4f8b\u3048\u3070\u4ed6\u306e\u300csndPlaySound \u300dAPI\u306e sndPlaySound \u306a\u3069\u306e\u547d\u4ee4\u3082\u3001\u300cCall\u3068\u30ab\u30c3\u30b3\u300d\u3067\u547c\u3073\u51fa\u305b\u308b\u306e\u3067\u3002\u3053\u306e \u2191 \u306e\u4e8b\u4f8b\u3067\u306f\u3001VC++\uff16\u3067\u4f5c\u3089\u308c\u3066\u3044\u3066\u3001Sub\u3084Function\u3067\u4f5c\u3089\u308c\u305f\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u3067\u3082\u3001\u300cMsgbox\u3067\u547c\u3073\u51fa\u305b\u3066\u308b\u300d\u306e\u3067\u3001\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306a\u3053\u3068\u304b\u3089\u3082\u3001\u4f8b\u3048\u3070\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3084\u300c\u95a2\u6570\u300d\u306e\u3088\u3046\u306b\u3001\u30ab\u30c6\u30b4\u30e9\u30a4\u30ba\u6642\u306e\u300c\u547c\u3073\u540d\u300d\u306f\u7570\u306a\u3063\u3066\u3044\u3066\u3082\u3001\u300cCall\u3067\u547c\u3073\u51fa\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u3068\u3044\u3046\u547d\u4ee4\u5358\u8a9e\u306f\u300d\u3001<br \/>\n\u300c\u305d\u306e\u672c\u8cea\u306f\u3001Sub\u304bFunction\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3067\u306f\u306a\u3044\u304b\uff1f\u300d\u3068\u3001<br \/>\n\u300c\u63a8\u6e2c\u304c\u7acb\u3064\u300d\u3001<br \/>\n\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070<br \/>\n\u300cApplication.Workbooks.Open \"D:\\1\\test.xlsx\"\u300d<br \/>\n\u3092<br \/>\n\u300cCall Application.Workbooks.Open(\"D:\\1\\test.xlsx\")\u300d<br \/>\n\u3068\u300cCall\u300d\u3092\u66f8\u3044\u3066\u3082\u547c\u3073\u51fa\u305b\u307e\u3059\u3002<br \/>\n\uff08Call\u3067\u547c\u3073\u51fa\u3059\u3068\u304d\u306f\u3001\u5f15\u6570\u30ea\u30b9\u30c8\u3092\u30ab\u30c3\u30b3\u3067\u56f2\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Call\u3092\u4f7f\u308f\u306a\u3044\u3068\u304d\u306f\u4e0d\u8981\u3067\u3059\u3002\uff09<\/p>\n<p>\u3053\u308c\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u3044\u306e\u3067\u3001\u300c\u3042\u3001\u3053\u308c\u306fCall\u3092\u4ed8\u3051\u3066\u3082\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u304b\u3089\u3001Workbooks.Open\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u3067\u3001Sub\u304bFunsciton\u306e\u3069\u3063\u3061\u304b\u3060\u306a\uff1f\u300d\u3001\u300c\u306a\u3089\u3001\u623b\u308a\u5024\u304c\u3042\u308b\u304b\u3082\u3060\u304b\u3089\u305d\u308c\u304c\u4f7f\u3048\u308b\u304b\u3082\uff1f\u300d\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3082\u30ab\u30c3\u30b3\u3082\u4f7f\u3044\u65b9\u306f\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u540c\u3058\u306f\u305a\u3060\u300d\u3001\u3068\u300c\u63a8\u6e2c\u304c\u3067\u304d\u308b\u300d\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3046\u306a\u308b\u3068\u3001\u300c\u30e1\u30bd\u30c3\u30c9\u3068\u3044\u3046\u3082\u306e\u81ea\u4f53\u300d\u304c\u3001\u5c11\u3057\u6016\u304f\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u300cCall\u300d\u3067\u547c\u3073\u51fa\u3059\u5834\u5408\u306f\u3001Call\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30e1\u30bd\u30c3\u30c9\u540d\u3092\u66f8\u3044\u305f\u5834\u6240\u306e\u76f4\u524d\u306e\u90e8\u5206\u306b\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\uff0b\u30c9\u30c3\u30c8\u300d\u3082\u5fc5\u8981\u3067\u3059\u304c\u3002\u3067\u3082\u300cCall\u3067\u547c\u3073\u51fa\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u3053\u3068\u306b\u306f\u5909\u308f\u308a\u306f\u3042\u308a\u307e\u305b\u3093\u300d\u3002<br \/>\n\uff08\u203b\u300c.dll\u300d\uff1d\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30ea\u30f3\u30af\u30e9\u30a4\u30d6\u30e9\u30ea\uff1dVBA\u3067\u8a00\u3046\u3001\u7279\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3067\u8a00\u3046\u3068\u3053\u308d\u306e\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u306e\u7a2e\u985e\u306e\u3072\u3068\u3064\u3001\u3067\u3059\u3002\uff09<\/p>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5834\u5408\u306f\u3001Call\u3068\u9055\u3063\u3066\u3001\u300c\u4f55\u304b\u306e\u660e\u78ba\u306a\u547d\u4ee4\u5358\u8a9e\u3092\u4f7f\u3063\u3066\u547c\u3073\u51fa\u3059\u300d\u3068\u3044\u3046\u611f\u3058\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\uff0b\u30c9\u30c3\u30c8\u300d\u306b\u7d9a\u3044\u3066\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u3092\u66f8\u304f\u3053\u3068\u3067\u547c\u3073\u51fa\u305b\u307e\u3059\u3057\u3001\u307e\u305f\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u3092\u53d6\u308a\u306a\u304c\u3089\u300d\u3001\u4f55\u304b\u3092\u300c\u8fd4\u3059\u300d\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3053\u3068\u306b\u306f\u5909\u308f\u308a\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u300c\u8fd4\u3059\u300d\u3068\u3044\u3046\u52d5\u304d\u304b\u3089\u3001\u3053\u308c\u3082\u3001\u306a\u3093\u3089\u304b\u306e\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u7cfb\u306e\u547d\u4ee4\u3068\u6349\u3048\u3089\u308c\u308b\u306e\u304b\u3082\uff1f\u300d\u3068\u63a8\u6e2c\u304c\u6210\u308a\u7acb\u3061\u3001\u5c11\u3057\u6016\u304f\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u4eca\u56de\u306f\u4ee5\u4e0a\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>==========================================================================<\/p>\n<p>\u30d0\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u76ee\u6b21\u3068\u30b5\u30f3\u30d7\u30eb\u53f7<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"9eLHRZipZL\"><p><a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/mag2-01\">\u2605\u72ec\u5b66\u8005\u304c1\u5e74\u5f8c\u306bExcelVBA\u3092\u7206\u767a\u7684\u306b\u4f38\u3070\u3059\u305f\u3081\u306e\u6700\u4f4e\u9650\u306e\u57fa\u790e\u77e5\u8b58\u30e1\u30e2\uff08\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\uff09\uff1a\uff5e\u30d0\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\uff5e<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u2605\u72ec\u5b66\u8005\u304c1\u5e74\u5f8c\u306bExcelVBA\u3092\u7206\u767a\u7684\u306b\u4f38\u3070\u3059\u305f\u3081\u306e\u6700\u4f4e\u9650\u306e\u57fa\u790e\u77e5\u8b58\u30e1\u30e2\uff08\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\uff09\uff1a\uff5e\u30d0\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\uff5e&#8221; &#8212; \u7121\u99c4\u306a\u304a\u91d1\u3068\u6642\u9593\u304c\u306a\u3044\u65b9\u30fb\u96f6\u7d30\u4f01\u696d\u69d8\u30fb\u72ec\u7acb\u3057\u305f\u3044\u65b9\u30fb\u500b\u4eba\u4e8b\u696d\u4e3b\u306e\u65b9\u30fb\u55b6\u696d\u3055\u3093\u30fb\u7d4c\u7406\u3055\u3093\u30fb\u5b66\u751f\u3055\u3093\u30fb\u5c31\u6d3b\u751f\u3055\u3093\u30fb\u5c0f\u5b66\u751f\u306e\u304a\u5b50\u69d8\u3001\u4e2d\u9ad8\u751f\u306e\u5b50\u305f\u3061\u306e\u305f\u3081\u306e\u3001\u3000\u3000\u3000\u3000\u300c\u5c0f\u3055\u306a\u4f1a\u793e\u306e\u517c\u4efb\u306a\u3093\u3061\u3083\u3063\u3066\u793e\u5185SE\u30fb\u30d1\u30bd\u30b3\u30f3\u7ba1\u7406\u8853\u30fb\u306e\u57fa\u790e\u77e5\u8b58\u300d\" src=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/mag2-01\/embed#?secret=pRIPaiq4sv#?secret=9eLHRZipZL\" data-secret=\"9eLHRZipZL\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>----------------------------------------------------------------------<br \/>\n\u25a0\u72ec\u5b66\u8005\u304c1\u5e74\u5f8c\u306bExcelVBA\u3092\u7206\u767a\u7684\u306b\u4e0a\u9054\u3055\u305b\u308b\u305f\u3081\u306e\u6700\u4f4e\u9650\u306e\u57fa\u790e\u77e5\u8b58\u30e1\u30e2\uff08\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\uff09<br \/>\n\u767a\u884c\u30b7\u30b9\u30c6\u30e0\uff1a\u300e\u307e\u3050\u307e\u3050\uff01\u300f http:\/\/www.mag2.com\/<br \/>\n\u914d\u4fe1\u4e2d\u6b62\u306f\u3053\u3061\u3089 https:\/\/www.mag2.com\/m\/0001691660.html<br \/>\n----------------------------------------------------------------------<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n","protected":false},"excerpt":{"rendered":"\u2605\u72ec\u5b66\u8005\u304c1\u5e74\u5f8c\u306bExcelVBA\u3092\u7206\u767a\u7684\u306b\u4f38\u3070\u3059\u305f\u3081\u306e\u6700\u4f4e\u9650\u306e\u57fa\u790e\u77e5\u8b58\u30e1\u30e2\uff08\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\uff09\uff1aVol0033:\u3064\u3044\u3067\u306b\u3001\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u300c\u4e00\u822c\u7684\u306b\u3001\u666e\u901a\u306b\u4f7f\u3046\u4f7f\u3044\u65b9\u300d\u3082\u5c11\u3057-16\u3002\u2605\u300c\u8b1d\u7f6a\u300d\u30a6\u30a9\u30c3\u30c1\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3001\u30bb\u30eb ...","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[234],"_links":{"self":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/posts\/1766"}],"collection":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/comments?post=1766"}],"version-history":[{"count":0,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/posts\/1766\/revisions"}],"wp:attachment":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/media?parent=1766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/categories?post=1766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}