{"id":1597,"date":"2019-10-12T18:27:07","date_gmt":"2019-10-12T09:27:07","guid":{"rendered":"https:\/\/euc-access-excel-db.com\/tips\/?p=1597"},"modified":"2020-02-19T17:33:45","modified_gmt":"2020-02-19T08:33:45","slug":"excel-vba-no-kotu01","status":"publish","type":"post","link":"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/excel-vba-no-kotu01","title":{"rendered":"\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u2605\u8d85\u91cd\u8981\uff01\uff01\u300c\u306a\u304b\u306a\u304bVBA\u304c\u4e0a\u9054\u3057\u306a\u3044\u30fb\u5fdc\u7528\u304c\u3067\u304d\u306a\u3044\u30fb\u5fdc\u7528\u304c\u5229\u304b\u306a\u3044\u30fb\u601d\u3044\u3069\u304a\u308a\u306e\u3082\u306e\u304c\u4f5c\u308c\u306a\u3044\u7406\u7531\u300d\u30025\u500b\u4ee5\u4e0a\u3002\uff5eExcelVBA\u72ec\u5b66\u306e\u30b3\u30c4\uff1f\u30dd\u30a4\u30f3\u30c8\uff1f\uff5e\u3068\u308a\u3042\u3048\u305a20\u500b\u304f\u3089\u3044\uff5e"},"content":{"rendered":"<p>\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u2605\u8d85\u91cd\u8981\uff01\uff01\u300c\u306a\u304b\u306a\u304bVBA\u304c\u4e0a\u9054\u3057\u306a\u3044\u30fb\u5fdc\u7528\u304c\u3067\u304d\u306a\u3044\u30fb\u5fdc\u7528\u304c\u5229\u304b\u306a\u3044\u30fb\u601d\u3044\u3069\u304a\u308a\u306e\u3082\u306e\u304c\u4f5c\u308c\u306a\u3044\u7406\u7531\u300d\u30025\u500b\u4ee5\u4e0a\u3002\uff5eExcelVBA\u72ec\u5b66\u306e\u30b3\u30c4\uff1f\u30dd\u30a4\u30f3\u30c8\uff1f\uff5e\u3068\u308a\u3042\u3048\u305a20\u500b\u304f\u3089\u3044\uff5e<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<span style=\"color: #ff0000;\">\u203b\u307e\u3060\u66f8\u304d\u304b\u3051\u3067\u3059\u3002\u3059\u307f\u307e\u305b\u3093\u3002<\/span><br \/>\n<span style=\"color: #ff0000;\">\u203b\u9593\u9055\u3063\u3066\u305f\u3089\u3059\u307f\u307e\u305b\u3093\u3002<\/span><br \/>\n<span style=\"color: #ff0000;\">\u203b\u30e1\u30e2\u66f8\u304d\u306a\u306e\u3067\u3001\u81ea\u5206\u3067\u3082\u610f\u5473\u4e0d\u660e\u306a\u7b87\u6240\u3082\u591a\u3044\u3067\u3059\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3002<\/span><\/p>\n<p>\u76ee\u6b21<br \/>\n<span style=\"font-size: 9pt;\"> \u3000<a href=\"#lbl_11\">\u2605 \u306f\u3058\u3081\u306b<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000<a href=\"#lbl_47\">\u2605 \u300cExcelVBA\u72ec\u5b66\u30fb\u4e0a\u9054\u306e\u30b3\u30c4\uff1f\u30dd\u30a4\u30f3\u30c8\uff1f\u300d\u306e\u4e00\u4f8b<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_60\">\u25bc (01)VBA\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3082\u3069\u304d\u3089\u3057\u3044\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_63\">\u25bc (02)\u52d5\u304b\u3059\u306e\u306f\uff08\u64cd\u4f5c\u3059\u308b\u306e\u306f\uff09\u4e00\u822c\u5909\u6570\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e2\u3064\u3060\u3051\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_134\">\u25bc (03)\u4e00\u822c\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u751f\u30c7\u30fc\u30bf\u306f\u4e00\u822c\u30c7\u30fc\u30bf\u3067\u3059\uff08\u6587\u5b57\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\u3002\u6587\u5b57\u5217\u30fb\u6570\u5024\u30fb\u65e5\u4ed8\u30fb\u8ad6\u7406\u5024\u306a\u3069\uff09\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_137\">\u25bc (04)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u3001\u300c\u751f\u30c7\u30fc\u30bf\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u306f\u300d\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_149\">\u25bc (05)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u300cExcel\u3068\u3044\u3046\u5de5\u5834\u3067\u50cd\u304f\u30df\u30cb\u30df\u30cb\u30ed\u30dc\u30c3\u30c8\u300d<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_207\">\u25bc (06)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u5927\u5225\u3057\u3066\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u300d\u306e2\u7a2e\u985e\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_279\">\u25bc (07)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u306b\u306f\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30a4\u30d9\u30f3\u30c8\u300d\u3001\u3068\u3044\u3046\uff13\u3064\u306e\u6a5f\u80fd\u304c\u5185\u5305\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_344\">\u25bc (08)\u30ed\u30fc\u30ab\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3084TypeName\u95a2\u6570\uff0bParent\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3001\u30d8\u30eb\u30d7\u3001\u30a6\u30a9\u30c3\u30c1\u5f0f\u3001<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000\u3000\u3000\u3000\u3000<a href=\"#lbl_344\">\u306a\u3069\u304c\u6271\u3048\u3066\u305d\u306e\u610f\u7fa9\u304c\u308f\u304b\u3089\u306a\u3044\u3068\u3001\u306a\u304b\u306a\u304b\u3001\u307e\u3063\u305f\u304f\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_348\">\u25bc (09)\u4e00\u822c\u5909\u6570\uff08\u914d\u5217\u3082\uff09\u3092\u52d5\u304b\u3059\u30fb\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u5909\u6570\u306e\u5916\u5074\u304b\u3089\u3044\u308d\u3093\u306a\u547d\u4ee4\u3092\u4f7f\u3046<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_352\">\u25bc (10)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u5358\u4e00\u30fb\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3068\u3082\u306b\uff09\u3092\u52d5\u304b\u3059\u30fb\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u5185\u5074\u304b\u3089\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u30fb\u30e1\u30bd\u30c3\u30c9<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000\u3000\u3000\u3000<a href=\"#lbl_352\">\u30fb\u30a4\u30d9\u30f3\u30c8\u300d\u3068\u3044\u3046\u547d\u4ee4\u3092\u5f15\u304d\u51fa\u3057\u306a\u304c\u3089\u30fb\u30fb\u30fb\u3001\u3068\u540c\u6642\u306b\u3001\u5916\u5074\u304b\u3089\u3082\u8272\u3093\u306a\u547d\u4ee4\u3092\u4f7f\u3046<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_370\"><span style=\"color: #ff0000;\"><b>\u25bc (11)\u2605\u2605\u6700\u91cd\u8981\uff01\uff01\uff01\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3001\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u6210\u3001\u914d\u5217\u300d\u3001\u3092\u899a\u3048\u306a\u3044\u3068\u3001<\/b><\/span><\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000\u3000\u3000\u3000\u3000<a href=\"#lbl_370\"><span style=\"color: #ff0000;\"><b>\u306a\u304b\u306a\u304b\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002<\/b><\/span><\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_375\">\u25bc (12)\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306f\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u95a2\u6570\u3001\u5f15\u6570\u3092\u6301\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u3082\u306e\u3067\u3082\u3042\u308a\u307e\u3059<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_415\"><span style=\"color: #ff0000;\"><b>\u25bc (13)\u2605\u2605\uff12\u3064\u3081\u306b\u91cd\u8981\uff01\uff01\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u304c\u6271\u3048\u308c\u3070\u3001\u300c\u8af8\u60aa\u306e\u6839\u6e90\u306e\u3072\u3068\u3064\u300d\u306e\u300cWith\u300d\uff1d\u300cWith\u306e\u751f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3067\u5b89\u6613\u306a\u4f7f\u7528\u300d\u304c\u8981\u3089\u306a\u3044\u5834\u9762\u304c\u5897\u3048\u308b<\/b><\/span><\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_422\">\u25bc (14)\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u3064\u3044\u3066\u306f\u3001\u968e\u5c64\u69cb\u9020\u306e\u7701\u7565\u3092\u3057\u3066\u3044\u308b\u3068\u3001\u306a\u304b\u306a\u304b\u4e0a\u9054\u3057\u306a\u3044\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_430\">\u25bc (15)\u672c\u5f53\u306b\u300c\u5909\u6570\u306a\u3093\u304b\u5168\u90e8Variant\u578b\u3067\u3044\u3044\u300d\u3068\u601d\u3046\u306a\u3089\u3084\u3063\u3066\u307f\u308c\u3070\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000\u3000\u3000\u3000\u3000<a href=\"#lbl_430\">\u6c38\u9060\u306b\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002\u306a\u305c\u306a\u3089\u81ea\u4f5c\u95a2\u6570\u304c\u4f5c\u308c\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_441\">\u25bc (16)\u300c\u8907\u96d1\u306a\u6761\u4ef6\u3067\u306e\u5b9a\u578b\u7684\u306a\u96c6\u8a08\u3084\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u300d\u306b\u9650\u3063\u3066\u306f\u3001\u300cSQL\u300d\u3092\u4f7f\u308f\u306a\u3044\u3068<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000\u3000\u3000\u3000\u3000<a href=\"#lbl_441\">\u300c\u8cea\u304c\u4f4e\u3044\u300d\u306e\u307e\u307e\u30fb\u300c\u8d85\u975e\u52b9\u7387\u300d\u306e\u307e\u307e\u3002\uff08\u7279\u306b\u4ed6\u306e\u4eba\u306b\u3082\u4f7f\u3063\u3066\u3082\u3089\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5834\u5408\uff09<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_458\">\u25bc (17)Excel\u306e\u300c\u30e6\u30fc\u30b6\u30fc\u30d5\u30a9\u30fc\u30e0\u300d\u306f\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3059\u304e\u3066\u975e\u52b9\u7387\u3067\u3059\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_465\">\u25bc (18)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fb\uff17\u3064<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_497\">\u25bc (19)\u5c0f\u6570\u3092\u6271\u3046\u3068\u304d\u306f\u6c17\u3092\u4ed8\u3051\u308b\u3002\u6b63\u5e38\u306b\u52d5\u304b\u306a\u3044\u3053\u3068\u304c\u305f\u307e\u306b\u3042\u308b\u306e\u3067\u3002<\/a><\/SPAN><br \/>\n<span style=\"font-size: 9pt;\"> \u3000\u3000<a href=\"#lbl_504\">\u25bc (20)\u540c\u540d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u3067\u3082\u3001\u89aa\u3068\u3044\u3046\u304b\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5909\u308f\u308b\u3068\u3001\u307e\u3063\u305f\u304f\u7570\u306a\u308b\u52d5\u4f5c\u3068\u306a\u308a\u307e\u3059\u3002<\/a><\/SPAN><\/p>\n<p>\u203bShift\uff0bTAB\u30ad\u30fc\u3001\u3082\u3057\u304f\u306f\u3001Home\u30ad\u30fc\u3001Home\u30ad\u30fc\uff0bTAB\u6570\u56de\u3001\u3092\u62bc\u3059\u3068\u3001\u76ee\u6b21\u4ed8\u8fd1\u306b\u623b\u308c\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<a name=\"lbl_11\">\u2605 \u306f\u3058\u3081\u306b<\/a><\/p>\n<p>\u203b\u3053\u306e\u8a18\u4e8b\u306e\u524d\u8eab\u306e\u8a18\u4e8b<br \/>\n<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/recursive-loop-ope___to_sub-folser-all-file01-2\" target=\"_blank\" rel=\"noopener noreferrer\">\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u7528\u8a9e\uff1a\u300cExcelVBA\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d\u3068\u306f\uff1f\uff5e<\/a><\/p>\n<p>\u50d5\u3082\uff11\u5e74\u304f\u3089\u3044\u524d\u304b\u3089ExcrelVBA\u3092\u72ec\u5b66\u3057\u59cb\u3081\u305f\u3068\u3053\u308d\u3067\u3001\u521d\u5fc3\u8005\u3067\u3059\u304c\u3001ExcelVBA\u72ec\u5b66\u306e\u30b3\u30c4\uff1f\u30dd\u30a4\u30f3\u30c8\uff1f\u306f\u3001\u3069\u3046\u3084\u3089 \u4ee5\u964d\u306b\u6319\u3052\u305f(01)\uff5e(19)\u306e\u3088\u3046\u306a\u611f\u3058\u3063\u307d\u3044\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u50d5\u306f\u307e\u3060ExcelVBA\u3092\u72ec\u5b66\u3057\u306f\u3058\u3081\u305f\u3068\u3053\u308d\u3067\u521d\u5fc3\u8005\u3060\u304b\u3089\u3001\u30c6\u30ad\u30c8\u30fc\u306b\u66f8\u3044\u3066\u307e\u3059\u3002\u9593\u9055\u3063\u3066\u308b\u3068\u3053\u308d\u3082\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u5168\u90e8\u3046\u306e\u307f\u306b\u306f\u3057\u306a\u3044\u3067\u3054\u81ea\u5206\u3067\u3082\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>\u306a\u304a\u3001\u3054\u81ea\u5206\u3067\u3001\u300c\u306a\u304b\u306a\u304b\u4e0a\u9054\u3057\u306a\u3044\u306e\u306f\u81ea\u5206\u306e\u305b\u3044\u300d\u3068\u60a9\u3093\u3067\u304a\u3089\u308c\u308b\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u308c\u306f\u9593\u9055\u3044\u3067\u3059\u3002<\/b><\/span><\/font><\/p>\n<p><font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #ff0000;\"><b>\u4eca\u306eExcelVBA\u6559\u80b2\u696d\u754c\u306e\u6559\u3048\u65b9\u304c\u3001\uff12\uff10\u5e74\u524d\u304b\u3089\u3001\u30c0\u30e1\u306a\u6559\u3048\u65b9\u304b\u3089\u307b\u3068\u3093\u3069\u5909\u308f\u3063\u3066\u3044\u306a\u3044\u3001\u3080\u3057\u308d\u60aa\u304f\u306a\u3063\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u306e\u304c\u539f\u56e0\u3067\u3059\u3002<br \/>\n<\/b><\/span><\/font><\/p>\n<p>\u50d5\u3082\u30c0\u30de\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3060\u304b\u3089\u307f\u306a\u3055\u3093\u3082\u6c17\u306b\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u308c\u3088\u308a\u3082\u3001\u4ee5\u964d\u306b\u6319\u3052\u305f\u3053\u3068\u3092\u3001\u3057\u3063\u304b\u308a\u5b66\u7fd2\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u5148\u751f\u3084\u540c\u50da\u3084\u5f8c\u8f29\u3001\u308f\u304c\u5b50\u306b\u3001\u300c\u4f55\u767e\u56de\u3067\u3082\u300d\u3001\u8cea\u554f\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u307e\u305f\u3001\u3082\u3057\u7fd2\u3044\u306b\u884c\u304f\u306a\u3089\u3001\u5fc5\u305a\u4ee5\u4e0b\u306e\u8cea\u554f\u3092\u8b1b\u5e2b\u306e\u65b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u300c\u81ea\u5206\u306e\u3088\u3046\u306a\u521d\u5fc3\u8005\u306b\u3082\u308f\u304b\u308b\u3088\u3046\u306b\u3001\u30d8\u30eb\u30d7\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306e\u8aad\u307f\u65b9\u3092\u6559\u3048\u3066\u3082\u3089\u3048\u307e\u3059\u304b\uff1f\u300d<\/p>\n<p>\u3068\u3002<\/p>\n<p>\u300c\u3082\u3061\u308d\u3093\u3067\u3059\uff01\u4eca\u3059\u3050\u3084\u308a\u307e\u3057\u3087\u3046\uff01\u305d\u308c\u3053\u305d\u304c\u672c\u5f53\u306e\u57fa\u790e\u306a\u306e\uff01\u305d\u308c\u3092\u805e\u3044\u3066\u304f\u308c\u3066\u3046\u308c\u3057\u3044\uff01\u304d\u3063\u3068\u4e0a\u9054\u304c\u65e9\u3044\u3088\uff01\uff1f\u300d\u3068\u8a00\u3063\u3066\u304f\u308c\u308b\u3001\u300c\u521d\u5fc3\u8005\u3060\u304b\u3089\u3068\u8a00\u3063\u3066\u30fb\u96e3\u3057\u3044\u304b\u3089\u304a\u3044\u304a\u3044\u306d\u300d\u3068\u300c\u9003\u3052\u306a\u3044\u300d\u3001\u300c\u306f\u3058\u3081\u304b\u3089\u3061\u3083\u3093\u3068\u6e96\u5099\u3057\u3066\u304f\u308c\u308b\u300d\u5148\u751f\u306b\u7fd2\u3044\u307e\u3057\u3087\u3046\u3002<br \/>\n\u5fc5\u305a\u3001\u7fd2\u3063\u305f\u304a\u91d1\u3092\u65e9\u671f\u306b\u56de\u53ce\u3067\u304d\u308b\u304f\u3089\u3044\u4e0a\u9054\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001\u300c\u30d8\u30eb\u30d7\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306e\u8aad\u307f\u65b9\u300d\u306f\u3001ExcelVBA \u4e00\u5e74\u751f\u306e\u50d5\u3067\u3082\u3001\uff08\u4e0b\u624b\u304f\u305d\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u30fb\u3067\u3082\uff09\u6559\u3048\u3089\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u5358\u306b\u300c\u5909\u306a\u7701\u7565\u300d\u3092\u3084\u3081\u308b\u3060\u3051\u3067\u3059\u304b\u3089\u3002<\/p>\n<p>\u7279\u306b\u8b1b\u5e2b\u3058\u3083\u306a\u304f\u3066\u3082\u8ab0\u3067\u3082\u6559\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u3001<br \/>\n\u30fb\u300cExcel2000\uff5e2003\u30d8\u30eb\u30d7\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30c7\u30eb\u4e00\u89a7\u56f3\u304c\u5206\u304b\u308b\u300d\u3001\u304b\u3064\u3001<br \/>\n\u30fb\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u300d\u304c\u601d\u3044\u901a\u308a\u306b\u4f5c\u308c\u3066\u3001\u304b\u3064\u3001<br \/>\n\u30fb\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u30a4\u30d9\u30f3\u30c8\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u306b\u5185\u5305\u3055\u308c\u308b\u547d\u4ee4or\u6a5f\u80fd\u300d\u3068\u5206\u304b\u3063\u3066\u3044\u308b\u3001\u304b\u3064\u3001<br \/>\n\u30fb\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u305d\u3046\u3044\u3046\u81ea\u4f5c\u95a2\u6570\u3068\u540c\u3058\u4ed5\u7d44\u307f\u3067\u52d5\u3044\u3066\u3044\u308b\u300d\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u4f53\u3067\u7406\u89e3\u3067\u304d\u3066\u3044\u308b\u3001<br \/>\n\u305d\u3046\u3044\u3046\u304b\u305f\u306a\u3089\u3001\u30c9\u7d20\u4eba\u3067\u3082\u30fb\u8ab0\u3067\u3082\u30fb\u4f59\u88d5\u3067\u6559\u3048\u3089\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<a name=\"lbl_47\">\u2605 \u300cExcelVBA\u72ec\u5b66\u30fb\u4e0a\u9054\u306e\u30b3\u30c4\uff1f\u30dd\u30a4\u30f3\u30c8\uff1f\u300d\u306e\u4e00\u4f8b<\/a><\/p>\n<p>\u3067\u306f\u4ee5\u964d\u3001ExcelVBA\u72ec\u5b66\u30fb\u4e0a\u9054\u306e\u30b3\u30c4\uff1f\u30dd\u30a4\u30f3\u30c8\uff1f\u3092\u50d5\u306a\u308a\u306e\u7b54\u3048\u3067\u3059\u3051\u3069\u3001\u3054\u63d0\u793a\u3057\u307e\u3059\u3002\uff08\u3054\u81ea\u5206\u3067\u3082\u3053\u3046\u3044\u3046\u306e\u3001\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u306d\uff1f\uff09<\/p>\n<p>\u4ee5\u964d\u306b\u3042\u3052\u305f\u3053\u3068\u3092\u5b66\u7fd2\u3057\u305f\u3053\u3068\u304c\u306a\u3044\u3068\u3001\u57fa\u672c\u3001\uff11\uff10\uff10\uff05\u3001\u632b\u6298\u3057\u3066\u3057\u307e\u3046\u304b\u3001\u300c\u521d\u5fc3\u8005\u672c\u3092\u7d42\u308f\u3063\u305f\u6642\u70b9\u304b\u3089\u4e00\u5411\u306b\u4e0a\u9054\u3067\u304d\u306a\u3044\u300d\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u9006\u306b\u8a00\u3046\u3068\u3001\u300c\u521d\u5fc3\u8005\u672c\u3092\u7d42\u308f\u3063\u305f\u6642\u70b9\u4ee5\u964d\u306f\u4ee5\u4e0b\u306e\u3053\u3068\u306b\u3064\u3044\u3066\u5b66\u7fd2\u3059\u308b\u3068\u304b\u306a\u308a\u4e0a\u9054\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u307e\u308b\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u306a\u304b\u306b\u3001\u3082\u3057\u304b\u3057\u305f\u3089\u3001\u307f\u306a\u3055\u3093\u304c\u300c\u4e0a\u9054\u3067\u304d\u306a\u3044\u7406\u7531\u300d\u3001\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\uff08\u591a\u304f\u306e\u65b9\u304c\u3001\u5c11\u306a\u304f\u3068\u3082\u3001\u6700\u4f4e3\u500b\u306f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u306f\u5168\u90e8\u3001\u300c\u8b1b\u5e2b\u30fb\u5148\u751f\u30fb\u5148\u8f29\u30fb\u540c\u50da\u300d\u306b\u3001\u300c\u308f\u304b\u308b\u307e\u3067\u300d\u300c\u4f55\u767e\u56de\u3067\u3082\u300d\u8cea\u554f\u3057\u3066\u3001\u308f\u304b\u308b\u3088\u3046\u306b\u306a\u3089\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3053\u3068\u30fb\u30fb\u30fb\u3067\u3082\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3044\u3046\u306a\u308c\u3070\u300c\u8131\u30fb\u521d\u5fc3\u8005\u300d\u306e\u305f\u3081\u306e\u3001\u300c\u672c\u5f53\u306e\u30dd\u30a4\u30f3\u30c8\u300d\u30fb\u30fb\u30fb\u3001\u306e\u3046\u3061\u306e\u3072\u3068\u3064\uff08\uff1d\u4e00\u3064\u306e\u4f8b\uff09\u3001\u3060\u3068\u601d\u3044\u307e\u3059\u3002\uff08\u7e70\u308a\u8fd4\u3057\u307e\u3059\u304c\u3001\u3054\u81ea\u5206\u3067\u3082\u3053\u3046\u3044\u3046\u306e\u3001\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u306d\uff1f\uff09<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<a name=\"lbl_60\">\u25bc (01)VBA\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3082\u3069\u304d\u3089\u3057\u3044\u3002<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_63\">\u25bc (02)\u52d5\u304b\u3059\u306e\u306f\uff08\u64cd\u4f5c\u3059\u308b\u306e\u306f\uff09\u4e00\u822c\u5909\u6570\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e2\u3064\u3060\u3051\u3002<\/a><br \/>\n\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d\u3068\u3044\u3046\u3082\u306e\u306b\u304a\u3044\u3066\u3001\u300c\u52d5\u304b\u3059\u5bfe\u8c61\u300d\u306f\u3001\u3069\u3093\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3082\u300c\u57fa\u672c\u306f\u300d\u300c\u5909\u6570\u300d\u3002<\/p>\n<p>\u672c\u5f53\u306f\u3001\u300c\u6700\u7d42\u7684\u306a\u64cd\u4f5c\u306e\u5bfe\u8c61\u300d\u306f\u300c\u5909\u6570\u300d\u306b\u4ee3\u5165\u3057\u305f\u3001\u300c\u751f\u30c7\u30fc\u30bf\u300d\u306e\u307b\u3046\u3001\u304c\u3001\u300c\u52d5\u304b\u3059\u5bfe\u8c61\u30fb\u52a0\u5de5\u7b49\u3005\u3092\u3059\u308b\u5bfe\u8c61\u300d\u3067\u3059\u304c\u3001\u3044\u304d\u306a\u308a\u305d\u3053\u307e\u3067\u7a81\u3063\u8fbc\u3093\u3067\u3044\u3063\u3066\u3057\u307e\u3046\u3068\u3001\u8907\u96d1\u306b\u306a\u308a\u3059\u304e\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3042\u3048\u3066\u300c\u5909\u6570\u3069\u307e\u308a\u300d\u306b\u3055\u305b\u3066\u7406\u89e3\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u5b9f\u969b\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u306f\u300c\u751f\u306e\u307e\u307e\u300d\u30c7\u30fc\u30bf\u3092\u6271\u3046\u3053\u3068\u306f\u5c11\u306a\u304f\u3001\u6700\u521d\u306b\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u304b\u3089\u3001\u5909\u6570\u306e\u307b\u3046\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3001\u305d\u306e\u610f\u5473\u304b\u3089\u3082\u3001\u3053\u3053\u3067\u306f\u300c\u64cd\u4f5c\u306e\u5bfe\u8c61\u306f\u5909\u6570\u300d\u3068\u300c\u3042\u3048\u3066\u300d\u8a00\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066VBA\u306e\u5834\u5408\u306f\u3001\u5909\u6570\u306e\u7a2e\u985e\u306f\u5927\u304d\u304f\u5206\u3051\u3066\u3001\u4e00\u822c\u5909\u6570\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e2\u3064\u3057\u304b\u306a\u3044\u3002\u3067\u3059\u3002<\/p>\n<p>\u4e00\u822c\u5909\u6570\u306b\u306f\u3001\u4e00\u822c\u30c7\u30fc\u30bf\uff08\u6587\u5b57\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\uff09\u3092\u4ee3\u5165\u3059\u308b\u3053\u3068\u3067\u3001\u307e\u305f\u3001<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\uff1d\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\uff09\u3092\u4ee3\u5165\u3059\u308b\u3053\u3068\u3067\u3001<br \/>\n\u64cd\u4f5c\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\uff08\u300c\u4ee3\u5165\u300d\u304c\u5b8c\u4e86\u3057\u3066\u306f\u3058\u3081\u3066\u3001\u5404\u7a2e\u306e\u64cd\u4f5c\u304c\u300c\u958b\u59cb\u300d\u300c\u3067\u304d\u308b\u300d\u30fb\u30fb\u30fb\u3001\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002\uff09<\/p>\n<p>\u203b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff1d3D\u7684\u306a\u30d1\u30fc\u30c4\u30fb\u90e8\u54c1<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff1d\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u3068\u3057\u3066\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u306e\u3053\u3068\u3002<\/p>\n<p>\u3000\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\uff1d3D\u7684\u306a\u30d1\u30fc\u30c4\u3084\u90e8\u54c1\u3092\u3001<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \uff08\u300c\u30d7\u30ed\u30b0\u30e9\u30e0\uff1d\u6587\u5b57\u300d\u3068\u3057\u3066\u6271\u3048\u308b\u3088\u3046\u306b\uff09\u6587\u5b57\u306b\u7f6e\u304d\u63db\u3048\u305f\u3082\u306e\u3002<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u300c\u968e\u5c64\u69cb\u9020\u300d\u3092\u306a\u3057\u305f\u72b6\u614b\u3067\u3002<\/p>\n<p>\u203b\u2605\u2605\u8d85\u91cd\u8981\uff01\uff01\u306a\u88dc\u8db3<br \/>\n<span style=\"color: #32cd32;\"><b>VBA\u306e\u5834\u5408\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\uff1d\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\uff09\u3092\u4ee3\u5165\u3057\u306a\u304f\u3066\u3082\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u306e\u307e\u307e\u3067\u3082\u64cd\u4f5c\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3042\u308b\u610f\u5473<font style=\"border-bottom:3px double #ff0000;\">\u300c\u30bf\u30c1\u304c\u60aa\u3044\u300d\u3002<\/font>\u3067\u3059\u3002<br \/>\n<span style=\"color: #0000ff;\"><b>\uff08\u4ed6\u306e\u8a00\u8a9e\u3067\u3082\u305d\u3046\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3051\u3069\u30fb\u30fb\u30fb\uff09<\/b><\/span><\/b><\/span><br \/>\n\u305d\u306e\u305f\u3081\u3001\u307b\u3069\u3093\u3069\u306e\u521d\u5fc3\u8005\u304c\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u52c9\u5f37\u3092\u3057\u306a\u3044\u300d\u3068\u3044\u3046\u60b2\u60e8\u306a\u72b6\u6cc1\u3067\u3059\u3002<br \/>\n\uff08\u30de\u30b7\u30f3\u30d1\u30ef\u30fc\u306e\u3042\u308b\u4eca\u3067\u306f\u305d\u308c\u307b\u3069\u91cd\u8981\u3067\u3082\u306a\u3044\uff09\u300cWith\u306a\u3069\u3092\u591a\u7528\u300d\u3057\u3001\u5f53\u7136\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3092\u4f7f\u308f\u306a\u3044\u3067\u3059\u3002<\/p>\n<p>\u3068\u3044\u3044\u307e\u3059\u304b\u300c\u4f7f\u3048\u306a\u3044\u300d\u3002\u3067\u3059\u3002<\/p>\n<p>\u5927\u5909\u6b8b\u5ff5\u306a\u3053\u3068\u306a\u306e\u3067\u3059\u304c\u3001\u5df7\u306b\u306f\u3061\u3083\u3093\u3068\u3057\u3066\u306a\u3044\u8b1b\u5e2b\u3084\u66f8\u7c4d\u3084\u30b5\u30a4\u30c8\u304c\u591a\u304f\u3066\u3001\u3061\u3083\u3093\u3068\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u91cd\u8981\u6027\u3092\u6559\u3048\u306a\u3044\u304b\u3089\u300d\u3001\u7d50\u679c\u3001\u300c\u52c9\u5f37\u3055\u305b\u3066\u3082\u3089\u3048\u306a\u3044\u300d\u304b\u3089\u3001\u300c\u4f7f\u3048\u306a\u3044\u300d\u3001\u306e\u3067\u3059\u3002\uff08\u7fd2\u3046\u5074\u306b\u7f6a\u306f\u306a\u3044\u3067\u3059\u3002\u6559\u3048\u308b\u5074\u306f\u5927\u7f6a\u3067\u3059\u3002\uff09<\/p>\n<p>\u3060\u304b\u3089\u3001\u300c\u521d\u7d1a\u306e\u4e0b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30bb\u30f3\u30b9\u3068\u77e5\u8b58\u306e\u307e\u307e\u3001\u4e00\u5411\u306b\u4e2d\u7d1a\u4ee5\u4e0a\u306b\u4e0a\u304c\u308c\u306a\u3044\u300d\u3067\u3059\u3057\u3001\u300c\u307b\u3068\u3093\u3069\u306e\u4eba\u304c\u632b\u6298\u3057\u3066\u3057\u307e\u3046\u3002\u300d\u306e\u3067\u3059\u3002<br \/>\n\uff08\u300c\u52d5\u304b\u3059\u5bfe\u8c61\u30fb\u64cd\u4f5c\u5bfe\u8c61\u300d\u306e\u300c\u5909\u6570\uff08\u7279\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\uff09\u300d\u52c9\u5f37\u3092\u300c\u3042\u3048\u3066\u653e\u68c4\u300d\u3057\u3066\u3001\u300c\u3084\u3089\u306a\u3044\u300d\u308f\u3051\u3060\u304b\u3089\u3001\u300c\u632b\u6298\u3057\u3066\u5f53\u7136\u300d\u306e\u7d50\u679c\u3068\u306a\u308a\u307e\u3059\u3002\uff09<\/p>\n<p>\u300c\u304a\u91d1\u3092\u6255\u3063\u3066\u7fd2\u3044\u306b\u884c\u3063\u305f\u3068\u3057\u3066\u3082\u300d\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u91cd\u8981\u6027\u3092\u7406\u89e3\u3067\u304d\u306d\u3070\u3001\u300c\u7d50\u5c40\u3001\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u300d\u306e\u81ea\u4f5c\u3082\u3067\u304d\u305a\u3001\u305d\u306e\u305b\u3044\u3067\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u7406\u89e3\u3082\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u307e\u305f\u300c\u521d\u7d1a\u306e\u4e0b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30bb\u30f3\u30b9\u3068\u77e5\u8b58\u306e\u307e\u307e\u3001\u4e00\u5411\u306b\u4e2d\u7d1a\u4ee5\u4e0a\u306b\u4e0a\u304c\u308c\u306a\u3044\u3002\u300d\u3067\u3059\u3057\u3001\u300c\u632b\u6298\u3059\u308b\u53ef\u80fd\u6027\u3082\u305d\u3046\u306f\u4f4e\u304f\u306a\u3089\u306a\u3044\u3002\u300d\u3067\u3059\u3002<\/p>\n<p>\u305f\u3076\u3093\u3001\u697d\u3057\u304f\u306f\u306a\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u30fb\u30fb\u30fb\u3001VBA\u304c\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u57fa\u672c\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3084\u3001\u5024\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u95a2\u6570\u3001\u968e\u5c64\u69cb\u9020\u300d\u3001\u306e\u52c9\u5f37\u3092\u3057\u306a\u3044\u306a\u3089\u3001\u300c\u7fd2\u3044\u306b\u884c\u3063\u305f\u300d\u3068\u3057\u3066\u3082\u3001\u3044\u305a\u308c\u3001\uff11\uff10\uff10\uff05\u632b\u6298\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u306e\u3067\u3001\u53b3\u3057\u3044\u8a00\u3044\u65b9\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u308c\u306a\u3089\uff08\u632b\u6298\u3059\u308b\u3068\u5206\u304b\u308a\u5207\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304b\u3089\uff09\u3001\u6700\u521d\u304b\u3089VBA\u306b\u53d6\u308a\u7d44\u307e\u306a\u3044\u307b\u3046\u304c\u7121\u96e3\u3067\u3059\u3002<br \/>\n\u3067\u306a\u3044\u3068\u3001\u304a\u91d1\u306f\u3082\u3061\u308d\u3093\u3001\u305d\u308c\u3088\u308a\u3082\u8cb4\u91cd\u306a\u300c\u3042\u306a\u305f\u306e\u300d\u300c\u6642\u9593\u300d\u307e\u3067\u3082\u3092\u3001\u300c\u30c9\u30d6\u306b\u6368\u3066\u3066\u3057\u307e\u3046\u300d\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u3088\u3046\u306a\u3053\u3068\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u3001\u3069\u3046\u304b\u3001\u3069\u3046\u304b\u3001\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<br \/>\n\u307e\u305f\u3001VBA\u306e\u5b66\u7fd2\u3092\u59cb\u3081\u308b\u306a\u3089\u614e\u91cd\u306b\u30fb\u30fb\u30fb\u3002<br \/>\n\u305d\u3046\u306a\u308b\u304f\u3089\u3044\u306a\u3089\u3001\u5b66\u751f\u3055\u3093\u306a\u3069\u306b\u300c\u5b89\u304f\u5916\u6ce8\u3059\u308b\u300d\u307b\u3046\u304c\u7d76\u5bfe\u306b\u30b3\u30b9\u30d1\u304c\u3044\u3044\u3067\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_134\">\u25bc (03)\u4e00\u822c\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u751f\u30c7\u30fc\u30bf\u306f\u4e00\u822c\u30c7\u30fc\u30bf\u3067\u3059\uff08\u6587\u5b57\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\u3002\u6587\u5b57\u5217\u30fb\u6570\u5024\u30fb\u65e5\u4ed8\u30fb\u8ad6\u7406\u5024\u306a\u3069\uff09\u3002<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_137\">\u25bc (04)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u3001\u300c\u751f\u30c7\u30fc\u30bf\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u306f\u300d\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/a><br \/>\n\u305f\u3060\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u4e0a\u306b\u9650\u3063\u3066\u306f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u306e\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<br \/>\n\u3082\u3063\u3068\u8a00\u3046\u3068\u3001\u300c<span style=\"color: #ff0000;\"><b>\u968e\u5c64\u69cb\u9020\u3092\u7701\u7565\u3057\u3066\u3044\u306a\u3044<\/b><\/span>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u306e\u3053\u3068\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n<p>\u203b\u968e\u5c64\u69cb\u9020\u3092\u7701\u7565\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u66f8\u304d\u65b9\u3070\u3063\u304b\u308a\u3092\u6559\u3048\u3066\u3044\u308b\u672c\u3092\u8aad\u3080\u30fb\u8cb7\u3063\u3066\u3057\u307e\u3046\u3068\u3001\u8a00\u8449\u304c\u60aa\u304f\u3066\u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u304c\u3001\u300c\u3042\u308b\u610f\u5473VBA\u7684\u306b\u306f\u30d0\u30ab\u300d\u306b\u3055\u305b\u3089\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3057\u3001\u30a8\u30e9\u30fc\u304c\u5897\u3048\u308b\u3046\u3048\u306b\u81ea\u529b\u89e3\u6c7a\u306a\u3093\u3066\u307b\u3068\u3093\u3069\u7121\u7406\u3067\u3059\u3002\u307e\u305fQ&A\u30b5\u30a4\u30c8\u3067\u805e\u3044\u3066\u307f\u305f\u3068\u3053\u308d\u3067\u56de\u7b54\u306e\u610f\u5473\u3092\u7406\u89e3\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u57fa\u672c\u3001\u307b\u3068\u3093\u3069\u306e\u5e02\u8ca9\u66f8\u7c4d\u304c\u3001\u4f46\u3057\u66f8\u304d\u3082\u305b\u305a\u306b\u3001\u3042\u305f\u308a\u307e\u3048\u306e\u3088\u3046\u306b\u3001\u300c\u7701\u7565\u3057\u307e\u304f\u3063\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u66f8\u304d\u65b9\u3057\u304b\u6559\u3048\u306a\u3044\u672c\u300d\u3070\u3063\u304b\u308a\u3067\u3059\u3002<br \/>\n\u9006\u306b\u968e\u5c64\u69cb\u9020\u3092\u7701\u7565\u3057\u306a\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u66f8\u304d\u65b9\u3092\u899a\u3048\u308b\u3068\u3001\u5e38\u306b\u968e\u5c64\u69cb\u9020\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u69cb\u9020\u306e\u3053\u3068\u304c\u300c\u7d75\u7684\u306b\u300d\u601d\u3044\u6d6e\u304b\u3093\u3067\u3044\u308b\u305f\u3081\u3001\u30a8\u30e9\u30fc\u306e\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u3092\u3069\u3093\u3069\u3093\u3068\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3057\u3001\u30a8\u30e9\u30fc\u306e\u81ea\u529b\u306e\u89e3\u6c7a\u3082\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3001\u305d\u3046\u3044\u3046\u65b9\u5411\u306b\u884c\u3051\u3084\u3059\u304f\u306a\u308b\u30fb\u30fb\u30fb\u3001\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u3068\u306f\u3001\u300c3D\u7684\u30fb\u7acb\u4f53\u7684\u306a\u30a4\u30e1\u30fc\u30b8\u306e \u201c \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u201c \u3092\u6587\u5b57\u306b\u76f4\u3057\u305f\u3082\u306e\u30fb\u5909\u63db\u3057\u305f\u3082\u306e\u300d\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\n\u30d7\u30ed\u30b0\u30e9\u30e0\u4e0a\u306b\u30013D\u7684\u30fb\u7acb\u4f53\u7684\u306a\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7d75\u300d\u3092\u30da\u30c3\u30bf\u30f3\u30b3\u3068\u8cbc\u4ed8\u3051\u3066\u3082\u3001\u5168\u304f\u6301\u3063\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u66f8\u3051\u306a\u3044\u306e\u3067\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6587\u5b57\u306b\u76f4\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u306e\u65b9\u3092\u4f7f\u3044\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_149\">\u25bc (05)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u300cExcel\u3068\u3044\u3046\u5de5\u5834\u3067\u50cd\u304f\u30df\u30cb\u30df\u30cb\u30ed\u30dc\u30c3\u30c8\u300d<\/a><br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u300c\u7d30\u304b\u3044\u6a5f\u80fd\u306e\u96c6\u5408\u4f53\u300d\u3001\u300c\u8907\u6570\u306e\u6a5f\u80fd\u3092\u6709\u3057\u305f\u30e2\u30ce\uff08\uff1d\u8907\u5408\u6a5f\u80fd\u4f53\uff09\u300d\u3001\u300c\u6587\u5b57\u30c7\u30fc\u30bf\u3068\u9055\u3044\u3001\uff13D\u7684\u306a\u30e6\u30cb\u30c3\u30c8\u306a\u611f\u3058\u300d\u3001\u3042\u308b\u3044\u306f\u3001\u300cExcel\u3068\u3044\u3046\u5de5\u5834\u3067\u50cd\u304f\u30df\u30cb\u30df\u30cb\u30ed\u30dc\u30c3\u30c8\u300d\u3068\u304b\u300c\u30d1\u30fc\u30c4\u300d\u300c\u90e8\u54c1\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3001\u300c\u5927\u304d\u3044\u3082\u306e\u30fb\u5c0f\u3055\u3044\u3082\u306e\u30fb\u76ee\u306b\u898b\u3048\u308b\u3082\u306e\u30fb\u898b\u3048\u306a\u3044\u3082\u306e\u300d\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306f\u3001\u76ee\u306b\u898b\u3048\u308b\u3082\u306e\u3068\u3057\u3066\u306f\u300c\u30d6\u30c3\u30af\u300d\u3001\u300c\u30b7\u30fc\u30c8\u300d\u3001\u300c\u30bb\u30eb\u300d\u3001\u300c\u30b0\u30e9\u30d5\u300d\u3001\u300c\u56f3\u5f62\uff08\u30aa\u30fc\u30c8\u30b7\u30a7\u30a4\u30d7\uff09\u300d\u300c\u30d4\u30dc\u30c3\u30c8\u30c6\u30fc\u30d6\u30eb\u300d\u3001\u300cMicrosoft Query \uff08\u3042\u308b\u3044\u306fQueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u300d\u3001\u300c\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\uff08ListObject\uff09\u300d\u3001\u300c\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u30fc\u300d\u300c\u30bb\u30eb\u306e\u30b3\u30e1\u30f3\u30c8\u6a5f\u80fd\u300d\u300c\uff08\u65e7Excel\u306a\u3089\uff09\u30b3\u30de\u30f3\u30c9\u30d0\u30fc\u3084\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u300d\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u76ee\u306b\u898b\u3048\u306a\u3044\u3082\u306e\u30fb\u898b\u3048\u306b\u304f\u3044\u3082\u306e\uff08\u610f\u8b58\u3057\u3065\u3089\u3044\u3082\u306e\uff09\u306b\u306f\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5185\u5074\u7ba1\u7406\u6a5f\u80fd\uff08Interior\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u300d\u300c\u30a8\u30e9\u30fc\u7ba1\u7406\u6a5f\u80fd\u300d\u300cVBE\u7ba1\u7406\u6a5f\u80fd\u300d\u300c\u5404\u7a2e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u300d\u300cADO\uff0fDAO\u300d\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b\u300cADO\uff0fDAO\u300d\u306f\u3001Excel\u304b\u3089\u306f\u72ec\u7acb\u3057\u305f\u6a5f\u80fd\u3067\u3059\u304c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u52d5\u304b\u3059\u5f62\u614b\u306e\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p>\u300c\u5168\u56fd\u306eATM  \u201d \u7db2 \u201d \u300d\u3092\u300c\uff11\u3064\u306e\u5927\u304d\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u6349\u3048\u308b\u3068\u3001ATM\u6a5f\uff11\u6a5f\uff11\u6a5f\u304c\u300c\u76ee\u306b\u898b\u3048\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3067\u3001\u305d\u308c\u3092\u88cf\u65b9\u3067\u3064\u306a\u3044\u3060\u308a\u52d5\u304b\u3057\u305f\u308a\u3059\u308b\u300c\u58c1\u3084\u5730\u4e0b\u306b\u57cb\u307e\u3063\u3066\u3044\u308b\u300d\u300c\u30b1\u30fc\u30d6\u30eb\u3084\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u300d\u304c\u3001\u300c\u76ee\u306b\u898b\u3048\u306a\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3067\u3001ATM\u6a5f\u306e\u300c\u6700\u5f8c\u306e\u5b9f\u884c\u300d\u304c\u300c\u304a\u91d1\u3092\u51fa\u3059\u300d\u3068\u3044\u3046\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u5b9f\u884c\u3059\u308b\u307e\u3067\u306e\u5404\u7a2e\u306e\u3053\u307e\u3054\u307e\u3068\u3057\u305f\u8a2d\u5b9a\uff08\u53e3\u5ea7\u756a\u53f7\u3092\u6253\u3061\u8fbc\u3080\u306a\u3069\uff09\u304c\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u30ad\u30e3\u30c3\u30b7\u30e5\u30ab\u30fc\u30c9\u3084\u901a\u5e33\u306f\u300c\u5f15\u6570\u300d\u30fb\u30fb\u30fb\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u4eba\u304c\u7acb\u305f\u306a\u3044\u3068\u300c\u81ea\u52d5\u7684\u306b\u30b9\u30ea\u30fc\u30d7\u30e2\u30fc\u30c9\u300d\u306b\u79fb\u884c\u3057\u3001\u4eba\u304c\u524d\u306b\u7acb\u3064\u3068\u3001\u300c\u81ea\u52d5\u7684\u306b\u30b9\u30ea\u30fc\u30d7\u3092\u89e3\u9664\u3057\u3066\u753b\u9762\u8d77\u52d5\u3059\u308b\u300d\u305d\u3046\u3044\u3046\u6a5f\u80fd\u304c\u300c\u30a4\u30d9\u30f3\u30c8\uff08\u81ea\u52d5\u5b9f\u884c\u6a5f\u80fd\u30fb\u3042\u308b\u3044\u306f\u81ea\u52d5\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\u30fb\u81ea\u52d5\u5b9f\u884c\u4fe1\u53f7\uff09\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>\u300cATM\u6a5f\u300d\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3072\u3068\u3064\u3068\u3057\u3066\u6349\u3048\u305f\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u300c\u5f15\u6570\u300d\u304c\u30ad\u30e3\u30c3\u30b7\u30e5\u30ab\u30fc\u30c9\u3084\u9810\u91d1\u901a\u5e33<\/p>\n<p>\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u304c<br \/>\n\u632f\u8fbc\u3080\uff08\u304a\u632f\u8fbc\uff09<br \/>\n\u901a\u5e33\u8a18\u5165\u3059\u308b\uff08\u901a\u5e33\u8a18\u5165\uff09<br \/>\n\u5f15\u304d\u51fa\u3059\uff08\u304a\u5f15\u304d\u51fa\u3057\uff09\u3000\u3000\u306a\u3069\u3002<br \/>\n\u300c\u3042\u3089\u304b\u3058\u3081\u6c7a\u3081\u3089\u308c\u305f\u52d5\u4f5c\u300d<br \/>\n\u3042\u308b\u3044\u306f\u3001<br \/>\n\u300c\u3042\u3089\u304b\u3058\u3081\u6c7a\u3081\u3089\u308c\u305f\u52d5\u4f5c\u300d\u3092\u300c\u5b9f\u884c\u300d\u3059\u308b\u3001\u305d\u3046\u3044\u3046\u6a5f\u80fd\u3002<\/p>\n<p>\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u304c<br \/>\n\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u753b\u9762\u3067\u884c\u3046\u5404\u7a2e\u306e\u8a2d\u5b9a\u3002<br \/>\n\u632f\u8fbc\u6642\u306a\u3089\u76f8\u624b\u306e\u53e3\u5ea7\u756a\u53f7\u8a2d\u5b9a\u3084\u91d1\u984d\u8a2d\u5b9a<br \/>\n\u5f15\u304d\u51fa\u3057\u306a\u3089\u6697\u8a3c\u756a\u53f7\u306e\u5165\u529b\u3084\u91d1\u984d\u8a2d\u5b9a\u3000\u3000\u306a\u3069\u3002<br \/>\n\u300c\u3042\u3089\u304b\u3058\u3081\u6c7a\u3081\u3089\u308c\u305f\u5404\u7a2e\u8a2d\u5b9a\u9805\u76ee\u300d<br \/>\n\u3042\u308b\u3044\u306f\u3001<br \/>\n\u300c\u3042\u3089\u304b\u3058\u3081\u6c7a\u3081\u3089\u308c\u305f\u5404\u7a2e\u8a2d\u5b9a\u9805\u76ee\u300d\u306e\u300c\u8a2d\u5b9a\u300d\u3092\u300c\u5b9f\u884c\u300d\u3059\u308b\u3001\u305d\u3046\u3044\u3046\u6a5f\u80fd\u3002<\/p>\n<p>\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u304c\u81ea\u52d5\u30b9\u30ea\u30fc\u30d7\u3084\u81ea\u52d5\u30b9\u30ea\u30fc\u30d7\u89e3\u9664\u30fb\u81ea\u52d5\u753b\u9762\u8d77\u52d5<\/p>\n<p>\u300c\u76ee\u306b\u898b\u3048\u306a\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306f\u3001\u901a\u5e33\u306e\u5370\u5b57\u30e6\u30cb\u30c3\u30c8\u3084\u3001\u5185\u8535\u306e\u30c7\u30fc\u30bf\u306e\u901a\u4fe1\u30e6\u30cb\u30c3\u30c8(\u30c1\u30c3\u30d7\u3084\u8a18\u61b6\u88c5\u7f6e)\u306a\u3069\u3002<br \/>\n\u300c\u76ee\u306b\u898b\u3048\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306f\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u3084\u3001\u304a\u672d\u3092\u53d6\u308a\u51fa\u3059\u90e8\u5206\u306e\u300c\u81ea\u52d5\u958b\u9589\u304a\u672d\u30ab\u30a6\u30f3\u30c8\u6392\u51fa\u30e6\u30cb\u30c3\u30c8\u300d\u3001\u306a\u3069\u3002<\/p>\n<p>\u4e0a\u8a18\u306f\u3001\u3059\u3079\u3066\u3001\u300cATM\u6a5f\u300d\u3068\u3044\u3046\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u308b\u3001\u5185\u5305\u3055\u308c\u3066\u3044\u308b\u300c\u6a5f\u80fd\u300d\u3001\u3067\u3059\u3002<\/p>\n<p>\u7279\u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u306f\u300c\u5185\u5305\u3055\u308c\u3066\u3044\u308b\u300d\u300c\u547d\u4ee4\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3082\u884c\u3051\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n VBA\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u3082\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306f\u3042\u308b\u610f\u5473\u30fb\u547d\u4ee4\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u306f\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u3082\u3063\u3068\u3044\u3046\u3068ATM\u7db2\u5168\u4f53\u306f\u3001\u25cb\u25cb\u25cb\u25cb\u9280\u884c\u3068\u3044\u3046\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u3042\u308a\u3001\u968e\u5c64\u69cb\u9020\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3001<br \/>\n\u3068\u304b\u3001<br \/>\nATM\u6a5f\u306f\u25cb\u25cb\u25cb\u25cb\u652f\u5e97\u306e\u7b2c1\u30d5\u30ed\u30a2\u304c\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6642\u3082\u3042\u308b\u30fb\u30fb\u30fb\u3001<br \/>\n\u3042\u308b\u3044\u306f\u3001<br \/>\n135\u53f0\u3081\u306eATM\u6a5f\u306f\u25cb\u25cb\u25cb\u25cb\u652f\u5e97\u306e\u7b2c1\u30d5\u30ed\u30a2\u304c\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30fb\u30fb\u30fb\u3001<br \/>\n169\u53f0\u3081\u306eATM\u6a5f\u306f\u00d7\u00d7\u00d7\u00d7\u00d7\u652f\u5e97\u306e\u7b2c3\u30d5\u30ed\u30a2\u304c\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30fb\u30fb\u30fb\u3001<br \/>\n\u307f\u305f\u3044\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>\u53c2\u8003<br \/>\n<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/real-obj_n_vba-obj01\" target=\"_blank\" rel=\"noopener noreferrer\">Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u2605\u2605\u2605\u8d85\u91cd\u8981\uff01\uff01\uff01\u300c\u5b9f\u969b\u306e\u6a5f\u80fd\u3084\u753b\u9762\u7b49\u3005\u300d\u3068\u300cVBA\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u306e\u5bfe\u5fdc\u3002\u4f8b\u3048\u3070\u300cApplication\u300d\u3063\u3066\u4f55\uff1fWorkbook\u3068\u306e\u95a2\u4fc2\u306f\uff1f<\/a><\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_207\">\u25bc (06)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u5927\u5225\u3057\u3066\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u300d\u306e2\u7a2e\u985e\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<\/a><br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u5927\u5225\u3057\u3066\u3001\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u547c\u3070\u308c\u308b\u30e2\u30ce\u3068\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u300d\u3068\u547c\u3070\u308c\u308b\u30e2\u30ce\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002\uff082\u7a2e\u985e\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002\uff09\u203b\u30d8\u30eb\u30d7\u306b\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306f\u3001\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u3082\u8a00\u3044\u307e\u3059\u3002<br \/>\n\u3069\u3061\u3089\u304b\u3068\u3044\u3046\u3068\u3001\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u306e\u533a\u5225\u3092\u660e\u78ba\u306b\u3059\u308b\u305f\u3081\u306b\u3001\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u547c\u3076\u65b9\u304c\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u533a\u5225\u3092\u660e\u78ba\u306b\u3059\u308b\u307b\u3046\u304c\u3001\u968e\u5c64\u69cb\u9020\u3092\u7406\u89e3\u3057\u3084\u3059\u3044\u306e\u3067\u30fb\u30fb\u30fb\u3002<br \/>\n\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306f\u3001\u8907\u6570\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u500b\u5225\u7ba1\u7406\u53ca\u3073\u4e00\u62ec\u7ba1\u7406\u3059\u308b\u300c\u30e6\u30cb\u30c3\u30c8\u30fb\u30df\u30cb\u30df\u30cb\u30ed\u30dc\u30c3\u30c8\u300d\u3067\u3059\u3002<br \/>\n\u540c\u3058\u7a2e\u985e\u3001\u4f3c\u305f\u7a2e\u985e\u306e\u3001\u8907\u6570\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u305f\u3061\u3092\u500b\u5225\u7ba1\u7406\u53ca\u3073\u4e00\u62ec\u7ba1\u7406\u3059\u308b\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u300c\u5358\u4e00\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8907\u6570\u3042\u308b\u300d\u5834\u5408\u306f\u3001\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u3042\u308b\u3044\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u305d\u306e\u3046\u3061\u306e\u3001\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7279\u5b9a\u3059\u308b\u6a5f\u80fd\u3092\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u6301\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #ff0000;\"><b>\u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u3042\u308b\u3044\u306f\u30e1\u30bd\u30c3\u30c9\u306e\u5b66\u7fd2\u3092\u3059\u3063\u98db\u3070\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u300c\u81f4\u547d\u7684\u300d\u3068\u306a\u308a\u307e\u3059\u3002\u30d8\u30eb\u30d7\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u304c\u8aad\u3081\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u306e\u3067\u3002<\/b><\/span><\/font><\/p>\n<p>\u307e\u305f\u3001\u8907\u6570\u306e\u540c\u985e\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e00\u62ec\u5370\u5237\u3001\u4e00\u62ec\u524a\u9664\u3001\u4e00\u62ec\u30b3\u30d4\u30fc\u3001etc\u3001\u306a\u3069\u306e\u300c\u4e00\u62ec\u00d7\u00d7\u00d7\u00d7\u00d7\u00d7\u300d\u3068\u3044\u3046\u64cd\u4f5c\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n\uff08\u305f\u3060\u3057\u3001\u3084\u308c\u308b\u4e00\u62ec\u51e6\u7406\u306f\u3001\u5404\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u7570\u306a\u308a\u307e\u3059\u3002\uff09<\/p>\n<p>\u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001\u4f8b\u3048\u3070\u300cSheet1\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u300c\u5358\u4e00\u306e\u30b7\u30fc\u30c8\u300d\u306e\u5834\u5408\u306f\u3001\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u3068\u306a\u308a\u307e\u3059\u3002(\u4ee5\u4e0b\u306f\u300c\u7701\u7565\u3057\u306a\u3044\u66f8\u304d\u65b9\u300d\u3067\u3059\u3002)<br \/>\n\u300cApplication.Workbooks.Item(\"book1.xlsx\").Worksheets.Item(\"Sheet1\")\u300d<br \/>\n\u307e\u305a\u306f\u3001\uff08\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u7d4c\u7531\u3057\u3066\uff09\u3053\u306e\u3088\u3046\u306a\u5f62\u3067\u3001\u5358\u4e00\u306e\u30b7\u30fc\u30c8\u3001\u3064\u307e\u308a\u3001Sheet1\u3092\u53d6\u5f97\uff08\uff1d\u9078\u629e\u30fb\u6307\u5b9a\uff09\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u300cItem\u300d\u306f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u7701\u7565\u3055\u308c\u308b\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u306a\u306e\u3067\u3001\u5b9f\u969b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7701\u7565\u3057\u3066\u66f8\u304b\u308c\u308b\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u3002<br \/>\n\u300cApplication.Workbooks(\"book1.xlsx\").Worksheets(\"Sheet1\")\u300d<br \/>\n\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30c7\u30eb\u30fb\u968e\u5c64\u69cb\u9020\u3068\u3057\u3066\u306f\u3001\u300cWorkbooks.Item(\"book1.xlsx\")\u300d\u3067\uff11\u968e\u5c64\u5206\u3092\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u3066\u3001\u307e\u305f\u3001\u300cWorksheets.Item(\"Sheet1\")\u300d\u3067\u3082\u3046\uff11\u968e\u5c64\u5206\u3092\u3001\u3053\u308c\u307e\u305f\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u308b\u30fb\u30fb\u30fb\u3001\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3042\u3068\u3001\u57fa\u672c\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u300c\u4e0a\u4f4d\u300d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6a2a\u306b\u5c45\u3066\u304f\u308c\u3066\u3044\u308b\u30a4\u30e1\u30fc\u30b8\u3001\u540c\u3058\u30d5\u30ed\u30a2\u306b\u5c45\u3066\u304f\u308c\u3066\u30fb\u304b\u3064\u30fb\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u305f\u3061\u3092\u7ba1\u7406\u3057\u3066\u304f\u308c\u3066\u308b\u30a4\u30e1\u30fc\u30b8\u3001\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u57fa\u672c\u3001\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e0a\u4f4d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u4e0b\u4f4d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u3001\u4e21\u65b9\u3068\u3082\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u306f\u306a\u304f\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3067\u3059\u3002<br \/>\n\u3088\u304f\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306f\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u300c\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\uff11\u968e\u5c64\u4e0b\u306b\u5c5e\u3059\u308b\u300d\u3068\u3044\u3046\u98a8\u306b\u9593\u9055\u3048\u3084\u3059\u3044\u306e\u3067\u3059\u304c\u9055\u3044\u307e\u3059\u3002\uff08\u305d\u3046\u3044\u3046\u56f3\u3092\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u81ea\u8eab\u304c\u63cf\u3044\u3066\u51fa\u3057\u3066\u3057\u307e\u3063\u3066\u3082\u3044\u308b\u305f\u3081\u3001\u3088\u3051\u3044\u306b\u3001\u305d\u3046\u8aa4\u89e3\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002Excel2000\u306e\u30d8\u30eb\u30d7\u306e\u56f3\u306f\u305d\u3093\u306a\u98a8\u306b\u306f\u63cf\u304b\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304cWeb\u306e\u3082\u306e\u304c\u305d\u3046\u3044\u3046\u5f62\u614b\u3067\u63cf\u304b\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\uff09<\/p>\n<p>\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u89aa\u306f\u30011\u968e\u5c64\u4e0a\u306e\u540c\u3058\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<br \/>\nTypeName\u95a2\u6570\uff0bParent\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\uff08\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u3066\uff09\u8abf\u3079\u308b\u3068\u5206\u304b\u308a\u307e\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070\u3001<br \/>\n\u300cWorksheets\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306e\u89aa\u3082\u3001<br \/>\n\u300cWorkSheets(\"Sheet1\")\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u306e\u89aa\u3082\u3001<br \/>\n\u3069\u3061\u3089\u306e\u89aa\u3082\u3001\u300cWorkbook\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u3044\u3046\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u3053\u3068\u304c\u3001\u308f\u304b\u308a\u307e\u3059\u3002\uff08Workbooks\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3058\u3083\u3042\u3001\u3042\u308a\u307e\u305b\u3093\u3002\uff09<br \/>\n\u8abf\u3079\u65b9\u306f\u3001\u4ee5\u4e0b\u3067\u3059\u3002<br \/>\n\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u306b\u3066\u3001<br \/>\n? TypeName(Worksheets.Parent)<br \/>\n\u3068\u66f8\u3044\u3066Enter\u3057\u3066\u3082\u3001<br \/>\n? TypeName(Worksheets(\"Sheet1\").Parent)<br \/>\n\u3068\u3084\u3063\u3066\u3082\u3001\u8fd4\u3063\u3066\u304f\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u540d\u524d\u306f<br \/>\nWorkbook<br \/>\n\u3067\u3059\u3002<br \/>\n\uff12\u3064\u3068\u3082\u540c\u3058\u3067\u3059\u3057\u3001\u307e\u305f\u3001\u300cWorkbooks\u300d\uff08\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff09\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\uff08\u203b\u57fa\u672c\u3001\u300cWorksheets\u300d\u3068\u3001\u4f55\u3082\u4ed8\u52a0\u3055\u305b\u305a\u306b1\u5358\u8a9e\u3060\u3051\u3092\u66f8\u304f\u3068\u3001\u540c\u3058\u968e\u5c64\u306b\u5c45\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u307b\u3046\u3092\u6307\u5b9a\u3057\u305f\u3053\u3068\u306b\u306a\u308a\u3001\u300cWorksheets(\"Sheet1\")\u300d\u3068\u30b7\u30fc\u30c8\u540d\u3084\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u4ed8\u52a0\u3057\u3066\u30ab\u30c3\u30b3\u3067\u56f2\u3093\u3067\u66f8\u304f\u3068\u3001\u540c\u3058\u968e\u5c64\u306b\u5c45\u308b\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6307\u5b9a\u3057\u305f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u4ed6\u306e\u3069\u3093\u306a\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u3082\u540c\u3058\u30eb\u30fc\u30eb\u3067\u3059\u3002\uff09<\/p>\n<p>\u306a\u304a\u3001\u300cApplication.Workbooks.Item(\"book1.xlsx\").\u300d\u306f\u3001\u3082\u3057\u3082\u305d\u306e\u30d6\u30c3\u30af\u304c\u4eca\u73fe\u5728\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u72b6\u614b\u306a\u3089\u3001\u8272\u3005\u7701\u3044\u3066\u300cActiveWorkbook.\u300d\u30681\u8a9e\u3067\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u3001ActiveWorkbook.Worksheets(\"Sheet1\")<br \/>\n\u3068\u66f8\u3051\u307e\u3059\u3002<br \/>\n\u3055\u3089\u306b\u306f\u305d\u308c\u3059\u3089\u7701\u7565\u3057\u3066\u3001<br \/>\nWorksheets(\"Sheet1\")<br \/>\n\u3068\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3067\u3082\u3053\u306e\u300cWorksheets(\"Sheet1\")\u300d\u3068\u304b\u300cActiveWorkbook.Worksheets(\"Sheet1\")\u300d\u306e\u3088\u3046\u306a\u300c\u7701\u7565\u3057\u307e\u304f\u3063\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u66f8\u304d\u65b9\u300d\u3070\u3063\u304b\u308a\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001\u5b66\u7fd2\u304c\u9032\u3080\u306b\u3064\u308c\u3066\u30a8\u30e9\u30fc\u3060\u3089\u3051\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u8a00\u8449\u304c\u60aa\u304f\u3066\u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u304c\u3001\u300c\u3042\u308b\u610f\u5473VBA\u7684\u306b\u306f\u30d0\u30ab\u300d\u306b\u3055\u305b\u3089\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001\u968e\u5c64\u69cb\u9020\u306e\u3053\u3068\u3092\u6559\u3048\u3066\u3082\u3089\u3048\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u306a\u304b\u306a\u304b\u7d20\u65e9\u304f\u300c\u6b63\u3057\u304f\u76f4\u3059\u30fb\u6b63\u3057\u304f\u66f8\u304d\u63db\u3048\u308b\u300d\u300c\u30e1\u30f3\u30c6\u3084\u5f15\u7d99\u304e\u304c\u3057\u3084\u3059\u304f\u306a\u308b\u3088\u3046\u306b\u76f4\u3059\u300d\u300c\u5c06\u6765\u3092\u898b\u8d8a\u3057\u3066\u76f4\u3059\u300d\u3068\u3044\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u30a8\u30e9\u30fc\u3082\u5897\u3048\u308b\u4e00\u65b9\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306a\u3053\u3068\u306f\u3001\u305d\u306e\u4ed6\u306e\u305f\u304f\u3055\u3093\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3082\u540c\u3058\u611f\u3058\u3067\u3059\u3002<br \/>\n\uff08\u500b\u5225\u7ba1\u7406\u3068\u8907\u6570\u4e00\u62ec\u7ba1\u7406\u306e\u4e21\u65b9\u304c\u3067\u304d\u307e\u3059\u3057\u3001\u307e\u305f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306b\u3066\u7701\u7565\u3070\u304b\u308a\u3057\u3066\u3044\u308b\u3068\u3001\u30df\u30b9\u3084\u30a8\u30e9\u30fc\u304c\u5897\u3048\u308b\u4e0a\u306b\u81ea\u5206\u3067\u6cbb\u305b\u306a\u3044\u3068\u3044\u30462\u91cd\u82e6\u30fb3\u91cd\u82e6\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u305d\u308c\u304b\u3089\u3001\u300cItem\u300d\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u3053\u3068\u3092\u5b66\u3076\u3053\u3068\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30c7\u30eb\uff08\u968e\u5c64\u69cb\u9020\uff09\u306e\u5b66\u7fd2\u306b\u5fc5\u9808\u306a\u306e\u3067\u3001\u7d76\u5bfe\u306b\u7406\u89e3\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u306a\u3093\u3067\u3001\u540c\u3058\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306a\u306e\u306b\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u306b\u5206\u304b\u308c\u3066\u3044\u308b\u306e\u304b\u306f\u50d5\u306f\u77e5\u308a\u307e\u305b\u3093\u3002VBA\u30ec\u30b8\u30a7\u30f3\u30c9\u306e\u4eba\u306b\u3067\u3082\u805e\u3044\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3042\u3068\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\uff08\u305f\u3057\u304b\uff09Variant\u578b\u306e\u914d\u5217\u306b\u306f\u3001\u300cFor Each \u6587\u300d\u304c\u4f7f\u3048\u308b\u306e\u3067\u3001\u300c\u3059\u3079\u3066\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u300d\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30bb\u30eb\uff08Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u306e\u30bb\u30eb\u7bc4\u56f2\u3084\u540d\u524d\u5b9a\u7fa9\u3057\u305f\u7bc4\u56f2\u306a\u3069\u306b\u3082\u300cFor Each \u6587\u300d\u304c\u4f7f\u3048\u307e\u3059\u3002\uff08\u306a\u306e\u3067\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u82e5\u5e72\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3081\u3044\u305f\u6027\u683c\u3092\u6301\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u5358\u4e00\u30bb\u30eb\u3092\u8907\u6570\u540c\u6642\u306b\u6271\u3048\u308b\u3001\u307f\u305f\u3044\u306a\u3002\uff09<br \/>\n\u305d\u306e\u305f\u3081\u300cFor Each \u6587\u300d\u3092\u4f7f\u3048\u3070\u3001\u300cCells\u30d7\u30ed\u30d1\u30c6\u30a3\uff0b\u30ab\u30a6\u30f3\u30bf\u5909\u6570\u300d\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u3001\u4e00\u5fdc\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3060\u3051\u3067\u3082\u3001\u4e00\u5fdc\u3001\u300c\u6a2a\u65b9\u5411\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u300d\u304c\u53ef\u80fd\u3067\u3059\uff08\u3044\u3044\u304b\u60aa\u3044\u304b\u306f\u5225\u3068\u3057\u3066\uff09\u3002<br \/>\n\u300cFor Each \u6587\u300d\u306e1\u884c\u76ee\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5b9f\u884c\u306e\u5bfe\u8c61\u7bc4\u56f2\u3068\u3057\u3066\u3001\u6a2a\u65b9\u5411\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u6307\u5b9a\u3059\u308c\u3070\u3044\u3044\u306e\u3067\u3002<br \/>\n\u50d5\u306f\u3001\u300c\u901f\u5ea6\u7684\u306a\u554f\u984c\u304c\u767a\u751f\u3057\u306a\u3044\u30fb\u3061\u3044\u3055\u3081\u306e\u8868\u300d\u306e\u51e6\u7406\u3060\u3063\u305f\u308a\u3001\u7279\u5225\u300c\u30c0\u30e1\u306a\u7406\u7531\u300d\u304c\u7121\u3044\u72b6\u6cc1\u306e\u3068\u304d\u306f\u3001\u4f7f\u3046\u3053\u3068\u306f\u60aa\u304f\u306a\u3044\u306e\u3067\u306f\uff1f\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u5b9f\u969b\u3001\u30bb\u30eb\u7bc4\u56f2\u3084\u540d\u524d\u5b9a\u7fa9\u306e\u540d\u524d\u3067\u3001\u30bb\u30eb\u306e\u4e00\u62ec\u51e6\u7406\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u304c\u8aad\u307f\u3084\u3059\u304f\u306a\u3063\u3066\u30e1\u30f3\u30c6\u3082\u5f15\u304d\u7d99\u304e\u3082\u30e9\u30af\u3060\u3057\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u300cCells\u30d7\u30ed\u30d1\u30c6\u30a3\uff0b\u30ab\u30a6\u30f3\u30bf\u5909\u6570\u300d\u306b\u3082\u6163\u308c\u305f\u307b\u3046\u304c\u3044\u3044\uff08\u6163\u308c\u308b\u3079\u304d\uff09\u3068\u601d\u3044\u307e\u3059\u3051\u3069\u3001\u4eca\u306e\u3068\u3053\u308d\u3001\u8907\u96d1\u306a\u6761\u4ef6\u3067\u306e\u96c6\u8a08\u3084\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u306b\u306f<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u3084MicrosoftQuery\u3001QueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3001\u30d4\u30dc\u30c3\u30c8\u3001\u305f\u307e\u306b\u30d4\u30dc\u30c3\u30c8\u306eVBA\u64cd\u4f5c\u3001\u3092\u4f7f\u3046\u306e\u3067\u3001\u300cCells\u30d7\u30ed\u30d1\u30c6\u30a3\uff0b\u30ab\u30a6\u30f3\u30bf\u5909\u6570\u300d\u3068\u304b\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u305d\u306e\u3082\u306e\u3092\u4f7f\u3046\u30b7\u30fc\u30f3\u304c\u307b\u3068\u3093\u3069\u7121\u3044\u3067\u3059\u30fb\u30fb\u30fb\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_279\">\u25bc (07)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u306b\u306f\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30a4\u30d9\u30f3\u30c8\u300d\u3001\u3068\u3044\u3046\uff13\u3064\u306e\u6a5f\u80fd\u304c\u5185\u5305\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/a><br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u306b\u306f\u3001\u5927\u5206\u985e\u3068\u3057\u3066\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30a4\u30d9\u30f3\u30c8\u300d\u3001\u3068\u3044\u3046\uff13\u3064\u306e\u6a5f\u80fd\u304c\u5185\u5305\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\uff13\u3064\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u300c\u30e1\u30f3\u30d0\u30fc\u300d\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002\u5168\u90e8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u30bb\u30c3\u30c8\u3067\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001\u305d\u306e\uff13\u3064\u306e\u3046\u3061\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u3042\u308b\u610f\u5473\u3001\u300c\u7279\u5b9a\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u7d10\u3064\u3044\u3066\u5185\u5305\u3055\u308c\u3066\u3044\u308b\u5c02\u5c5e\u547d\u4ee4\u300d\u3068\u304b\u3001\u300c\u305d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u72ec\u81ea\u306e\u547d\u4ee4\u300d\u3068\u3044\u3046\u611f\u3058\u3067\u7406\u89e3\u3057\u3066\u3082OK\u3067\u3059\u3002<br \/>\n\u305d\u3057\u3066\u30fb\u30fb\u30fb\u3001<br \/>\n\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u300c\u5404\u7a2e\u8a2d\u5b9a\u7cfb\u300d\u306e\u547d\u4ee4\u30fb\u6a5f\u80fd\u3067\u3001<br \/>\n\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u300c\u30b3\u30d4\u30fc\u3059\u308b\u3001\u5370\u5237\u3059\u308b\u3001\u958b\u304f\u3001\u65b0\u898f\u4f5c\u6210\u3059\u308b\u300d\u306a\u3069\u306e\u3001<br \/>\n\u300c\u52d5\u4f5c\u7cfb\uff08\u52d5\u4f5c\u958b\u59cb\u7cfb\uff09\u300d\u306e\u547d\u4ee4\u30fb\u6a5f\u80fd<br \/>\n\u30fb\u30fb\u30fb\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u203b\u2193\u8a73\u3057\u304f\u306f\u3053\u3061\u3089\u3067\u3059\u304c\u3001\u3053\u3061\u3089\u3082\u5fc5\u305a\u304a\u8aad\u307f\u304f\u3060\u3055\u3044\u3002<br \/>\n\u300e<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/property-method-diff-01-for-function\" target=\"_blank\" rel=\"noopener noreferrer\">\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u2605\u8d85\u91cd\u8981\uff01\uff01\u6a5f\u80fd\u3068\u3057\u3066\u898b\u305f\u5834\u5408\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u30e1\u30bd\u30c3\u30c9\u306e\u9055\u3044\uff5e<\/a>\u300f<br \/>\n\u300e<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/obj-property-method-new-description01\" target=\"_blank\" rel=\"noopener noreferrer\">\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u7528\u8a9e\uff1a\u65b0\uff1a\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u306e\u65b0\u3057\u3044\u8aac\u660e\uff5e\u4eca\u307e\u3067\u306e\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\uff1d\u6027\u8cea\u300d\u300c\u30e1\u30bd\u30c3\u30c9\uff1d\u52d5\u4f5c\u300d\u306e\u3088\u3046\u306a\u8aac\u660e\u3060\u3068\u7d50\u5c40\u308f\u304b\u3089\u306a\u3044\u3002\u7406\u89e3\u3067\u304d\u306a\u3044\u3002\u300c\u3082\u308c\u306a\u304f\u300d\u300c\u632b\u6298\u3059\u308b\u300d\u306e\u3067\u3002\uff5e<\/a>\u300f<\/p>\n<p>\u306a\u304a\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3082\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3082\u3001\u30b3\u30de\u30f3\u30c9\u30d0\u30fc\uff08\u3042\u308b\u3044\u306f\u30ea\u30dc\u30f3\uff09\u3084\u3001\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u306e\u4e2d\u306e\u3001\u300c\u8a2d\u5b9a\u9805\u76ee\u3084\u52d5\u4f5c\u958b\u59cb\u9805\u76ee\uff08\u5b9f\u884c\u9805\u76ee\uff09\u306a\u3069\u3068\u3057\u3066\u300c\u4e00\u5fdc\u300d\u300c\u5f62\u3068\u3057\u3066\u300d\u76ee\u306b\u3082\u898b\u3048\u308b\u300d\u3082\u306e\u304c\u305d\u3053\u305d\u3053\u3042\u308a\u307e\u3059\u3002\uff08\u9006\u306b\u76ee\u306b\u306f\u898b\u3048\u306a\u3044\u3082\u306e\u3082\u591a\u3044\u3067\u3059\u304c\u3002\u3080\u3057\u308d\u305d\u3063\u3061\u306e\u307b\u3046\u304c\u591a\u3044\u304b\u3082\u3002\uff09<\/p>\n<p>\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u300c\u00d7\u00d7\u00d7\u3092\u8a2d\u5b9a\u3059\u308b\u300d\u7cfb\u306e\u30e1\u30cb\u30e5\u30fc\u3001<br \/>\n\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u300c\u00d7\u00d7\u00d7\u3092\u5b9f\u884c\u3059\u308b\u300d\u7cfb\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u3068\u306a\u3063\u3066\u898b\u3048\u3066\u304d\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u305e\u308c\u306b\u5bfe\u3057\u3066\u3001\u300c\u5217\u6319\uff08Enum\uff09\u300d\u3084\u300c\u7d44\u8fbc\u307f\u5b9a\u6570\u300d\u3082\u30e1\u30cb\u30e5\u30fc\u3068\u3057\u3066\u76ee\u306b\u898b\u3048\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\uff08\u3082\u3061\u308d\u3093\u3001\u305d\u308c\u3089\u306f\u4e00\u90e8\u3067\u3042\u3063\u3066\u5168\u90e8\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u76ee\u306b\u898b\u3048\u306a\u3044\u305d\u308c\u3089\u3082\u591a\u3044\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\u3001\u305d\u306e\u4f8b\u306e\u56f3\u3067\u3059\u3002\uff08\u30af\u30ea\u30c3\u30af\u3067\u62e1\u5927\u3067\u304d\u307e\u3059\u3002\uff09<\/p>\n<p><a href=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2019-02-18---16-34-30.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/euc-access-excel-db.com\/00000WPIMG\/2019-02-18---16-34-30.jpg\" alt=\"\" width=\"50%\" height=\"50%\" ><\/a><\/p>\n<p>\u2191\u3053\u306e\u4f8b\u3067\u306f\u53f3\u30af\u30ea\u30c3\u30af\u3057\u305f\u3082\u306e\u304c\u30bb\u30eb\u306a\u306e\u3067\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u5185\u5bb9\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u53f3\u30af\u30ea\u30c3\u30af\u3057\u305f\u3082\u306e\u304c\u7570\u306a\u308b\u3068\u3001\u4f8b\u3048\u3070\u540c\u3058\u300c\u30b3\u30d4\u30fc\u300d\u3067\u3082\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5909\u308f\u308b\u306e\u3067\u3001\u610f\u5473\u304c\u5909\u308f\u3063\u3066\u304d\u307e\u3059\u3002<br \/>\n\u56f3\u5f62\u3068\u6587\u5b57\u5217\u306e\u30b3\u30d4\u30fc\u3067\u306f\u6027\u683c\u304c\u7570\u306a\u308b\u30fb\u30fb\u30fb\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u53c2\u8003\u8a18\u4e8b<br \/>\n\u300e<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/obj-property-method-new-description01\" target=\"_blank\" rel=\"noopener noreferrer\">\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u7528\u8a9e\uff1a\u65b0\uff1a\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u306e\u65b0\u3057\u3044\u8aac\u660e\uff5e\u4eca\u307e\u3067\u306e\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\uff1d\u6027\u8cea\u300d\u300c\u30e1\u30bd\u30c3\u30c9\uff1d\u52d5\u4f5c\u300d\u306e\u3088\u3046\u306a\u8aac\u660e\u3060\u3068\u7d50\u5c40\u308f\u304b\u3089\u306a\u3044\u3002\u7406\u89e3\u3067\u304d\u306a\u3044\u3002\u300c\u3082\u308c\u306a\u304f\u300d\u300c\u632b\u6298\u3059\u308b\u300d\u306e\u3067\u3002\uff5e<\/a>\u300f<\/p>\n<p>\u57fa\u672c\u3001\u300e \u30d7\u30ed\u30d1\u30c6\u30a3\uff1d\u6027\u8cea\u3067\u3001\u30e1\u30bd\u30c3\u30c9\uff1d\u52d5\u4f5c \u300f\u3068\u7406\u89e3\u3059\u308b\u3060\u3051\u306e\u3001\u5e02\u8ca9\u306e\u521d\u5fc3\u8005\u672c\u306b\u3042\u308a\u304c\u3061\u306a\u300c\u6d45\u3044\u7406\u89e3\u30fb\u8cea\u306e\u4f4e\u3044\u7406\u89e3\u306e\u4ed5\u65b9\u300d\u3060\u3068\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3084\u30d8\u30eb\u30d7\u304c\u81ea\u529b\u3067\u8aad\u3081\u306a\u3044\u307e\u307e\u3001\u306a\u304b\u306a\u304bVBA\u304c\u4e0a\u9054\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u9006\u306b\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u81ea\u4f5c\u95a2\u6570\u306e\u4ed5\u7d44\u307f\u306b\u4f3c\u305f\u547d\u4ee4\u30fb\u3042\u308b\u3044\u306f\u6a5f\u80fd\u300d\u3068\u8003\u3048\u308b\u307b\u3046\u304c\u3001\u4e0a\u9054\u304c\u65e9\u307e\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\uff08\u8272\u3093\u306a\u3053\u3068\u3092\u3001\u300c\u30ea\u30f3\u30af\u3055\u305b\u3066\u300d\u8003\u3048\u3084\u3059\u304f\u306a\u308b\u305f\u3081\u3002\uff09<br \/>\n\u5f15\u6570\u3082\u6301\u3063\u3066\u3044\u308b\u3057\u3001\u5024\u3092\u8fd4\u3057\u305f\u308a\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u305f\u308a\u3001\u540d\u524d\u4ed8\u304d\u5f15\u6570\u304c\u4f7f\u3048\u305f\u308a\u3001\u9006\u306b\u4f55\u3082\u8fd4\u3055\u305a\u306b\u4f55\u3089\u304b\u306e\u52d5\u304d\u3092\u3059\u308b\u3060\u3051\u3060\u3063\u305f\u308a\u3068\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u81ea\u4f5c\u95a2\u6570\u3082\u300d\u5168\u90e8\u52d5\u304d\u304c\u4f3c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3082\u3046\u5c11\u3057\u8a00\u3046\u3068\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u30fb\u30fb\u30fb\u3001<br \/>\n\u300c\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u300d<br \/>\n\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u3092\u3057\u3064\u3064\u30fb\u540c\u6642\u306b\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u300d<br \/>\n\u300c\u5024\u3092\u8aad\u3081\u308b\u3060\u3051\u3067\u8a2d\u5b9a\uff08\u66f8\u304d\u63db\u3048\uff09\u306f\u3067\u304d\u306a\u3044\u81ea\u4f5c\u95a2\u6570\u300d<br \/>\n\u300c\u5024\u3092\u8aad\u3081\u3066\u30fb\u304b\u3064\u30fb\u8a2d\u5b9a\uff08\u66f8\u304d\u63db\u3048\uff09\u3082\u3067\u304d\u308b\u81ea\u4f5c\u95a2\u6570\u300d<br \/>\n\u300c\u5024\u3092\u5f15\u6570\u306b\u3068\u308b\u81ea\u4f5c\u95a2\u6570\u300d<br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5f15\u6570\u306b\u3068\u308b\u81ea\u4f5c\u95a2\u6570\u300d<br \/>\n\u30fb\u30fb\u30fb\u3068\u3044\u3063\u305f\u95a2\u6570\u305f\u3061\u306b\u4ed5\u7d44\u307f\u304c\u4f3c\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u3001\u300c\u547d\u4ee4\u306a\u306e\u304b\uff1f\u6a5f\u80fd\u306a\u306e\u304b\uff1f\u300d\u3068\u3044\u3046\u533a\u5225\u306b\u3064\u3044\u3066\u306f\u3001\u72ec\u5b66\u306e\u6700\u521d\u306e\u3046\u3061\u306f\u3064\u3051\u306a\u304f\u3066\u3082\u5927\u4e08\u592b\u3067\u3059\u3002\u5b66\u7fd2\u304c\u9032\u3080\u306b\u3064\u308c\u3066\u3001\u3082\u3057\u533a\u5225\u304c\u5fc5\u8981\u306a\u3089\u3059\u308c\u3070OK\u3067\u3059\u3002\u50d5\u306f\u3069\u3063\u3061\u3067\u3082\u3044\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u524d\u5f8c\u306e\u6587\u8108\u3067\u8a33\u3057\u5909\u3048\u3066\u3044\u307e\u3059\u3002<br \/>\n\u57fa\u672c\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3082\u4f7f\u3048\u305f\u308a\u3057\u3066\u300c\u95a2\u6570\u300d\u306e\u4ed5\u7d44\u307f\u3068\u4f3c\u3066\u3044\u308b\u306e\u3067\u3001\u7d50\u679c\u30fb\u300c\u547d\u4ee4\u300d\u3068\u3068\u3089\u3048\u308c\u3070\u3044\u3044\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001\u3067\u3082\u3001\u4e00\u65b9\u3067\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u76ee\u7dda\u3067\u30d8\u30eb\u30d7\u3067\u300c\u30e1\u30f3\u30d0\u30fc\u4e00\u89a7\u300d\u3092\u8aad\u3080\u3068\u3001\u300c\u6a5f\u80fd\u300d\u3068\u547c\u3093\u3067\u3082\u5dee\u3057\u652f\u3048\u306a\u3044\u3082\u306e\u3070\u304b\u308a\u306a\u306e\u3067\u3001\u300c\u6a5f\u80fd\u300d\u3067\u3082\u3044\u3044\u306e\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u306b\u30d8\u30eb\u30d7\u306e\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e1\u30f3\u30d0\u30fc\u4e00\u89a7\u300d\u304c\u8aad\u3081\u3066\u30fb\u305d\u306e\u5185\u5bb9\u304c\u6b63\u3057\u304f\u610f\u5473\u304c\u7406\u89e3\u3067\u304d\u3001\u6b63\u3057\u3044\u610f\u5473\u3042\u3044\u3067\u30b3\u30fc\u30c9\u304c\u66f8\u3051\u308b\u306a\u3089\u3001\u300c\u547d\u4ee4\u3067\u3082\u6a5f\u80fd\u3067\u3082\u3069\u3061\u3089\u3067\u3082\u3044\u3044\u3002\u300d\u3068\u3082\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3069\u3046\u3057\u3066\u3082\u767d\u9ed2\u3064\u3051\u305f\u304b\u3063\u305f\u3089\u3001\u30d7\u30ed\u306e\u4eba\u306b\u805e\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u306f<br \/>\n\u300c\u30aa\u30fc\u30d6\u30f3\u30ec\u30f3\u30b8\u306e\u6249\u3092\u958b\u3051\u305f\u77ac\u9593\u306b\u3042\u305f\u305f\u3081\u304c\u81ea\u52d5\u3067\u30b9\u30c8\u30c3\u30d7\u3059\u308b\u300d\u3068\u304b<br \/>\n\u300cATM\u3084\u30b3\u30d4\u30fc\u8907\u5408\u6a5f\u306e\u524d\u306b\u7acb\u3064\u3068\u30b9\u30ea\u30fc\u30d7\u304c\u81ea\u52d5\u89e3\u9664\u3055\u308c\u3066\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u300d\u307f\u305f\u3044\u306a\u3001<br \/>\n\u300c\u4f55\u304b\u306e\u77ac\u9593\u300d\u306b\u300c\u81ea\u52d5\u52d5\u4f5c\u3059\u308b\u6a5f\u80fd\u300d\u300c\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u81ea\u52d5\u5b9f\u884c\u3059\u308b\u6a5f\u80fd\u300d\u3067\u3059\u3002<\/p>\n<p>\u3042\u3068\u3001(\u591a\u5206\u3067\u3059\u304c)\u5168\u3066\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068(\u518d\u5ea6\u30fb\u591a\u5206)\u5168\u3066\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001\u300c\u968e\u5c64\u69cb\u9020\u3092\u6210\u3057\u3066\u300d\u300c\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u300d\u306e\u3067\u3001\u305d\u306e\u300c\u3064\u306a\u304c\u308a\u300d\u300c\u7d4c\u8def\u300d\u3092\u5229\u7528\u3057\u3066\uff08\u4f1d\u3063\u3066\u3044\u304d\uff09\u3001\u300c\u4e0b\u4f4d\u3084\u4e0a\u4f4d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u300d\u306b\u30a2\u30af\u30bb\u30b9\uff08\uff1d\u6d41\u7528\uff09\u3067\u304d\u308b\u6a5f\u80fd\u3082\u3042\u308a\u307e\u3059\u3002\uff08\u5358\u4e00\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3001\u4e21\u65b9\u306e\u4e0a\u4e0b\u3067\u3002\uff09<br \/>\n\u50d5\u306f\u305d\u308c\u3092\u52dd\u624b\u306b\u3001\u300c\u968e\u5c64\u69cb\u9020\u4e0a\u4e0b\u81ea\u7531\u5f80\u6765\u6a5f\u80fd\u300d\u3068\u304b\u3001\u300c\u4e0a\u4e0b\u968e\u5c64\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6a5f\u80fd\u306e\u6d41\u7528\u6a5f\u80fd\u300d\u306a\u3069\u3068\u52dd\u624b\u306b\u540d\u4ed8\u3051\u3057\u3066\u547c\u3093\u3067\u3044\u307e\u3059\u3002\u3053\u308c\u304c\u3067\u304d\u308b\u3053\u3068\u3067\u3001\u300c\u4e0a\u4e0b\u306e\u968e\u5c64\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u307b\u3093\u306e\u5c11\u3057\u30fb\u4e00\u77ac\u3060\u3051\u3001\u4f7f\u3044\u305f\u3044\u3068\u304d\u300d\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3092\u3044\u3061\u3044\u3061\u5ba3\u8a00\u3057\u306a\u304f\u3066\u3082\u3001\u3042\u308b\u3044\u306f\u3001\u6700\u4e0a\u968e\u5c64\u304b\u3089\u5168\u90e8\u306e\u968e\u5c64\u3092\u305f\u3069\u3063\u3066\u3053\u306a\u304f\u3066\u3082\u3001\u305d\u308c\u3089\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u4ed6\u306e\u30e1\u30ea\u30c3\u30c8\u3082\u591a\u5206\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u306e\u968e\u5c64\u69cb\u9020\u3084\u3064\u306a\u304c\u308a\u306e\u69cb\u9020\u30fb\u7d4c\u8def\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3084TypeName\u95a2\u6570\uff0bParent\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306a\u3069\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3001\u4e00\u90e8\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001\u300c\u968e\u5c64\u69cb\u9020\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u306f\u9593\u9055\u3044\u306a\u3044\u306e\u3060\u304c\u3001\u3067\u3082\u3001\u3069\u3053\u306b\u4f4d\u7f6e\u3057\u3066\u3044\u308b\u304b\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u30e2\u30ce\u304c\u3042\u308a\u307e\u3059\u3002\uff08\u4f8b\u3048\u3070Sheets\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u304b\u3002\uff09<br \/>\n\u305d\u3053\u306f\u5c11\u3057\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f100\uff05\u5185\u5305\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001100\uff05\u3001\u968e\u5c64\u69cb\u9020\u306b\u3082\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002\uff08\u4f4d\u7f6e\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306a\u3069\u3082\u5b58\u5728\u306f\u3057\u307e\u3059\u304c\u3001\u4e00\u5fdc\u3001\u305d\u308c\u3082\u3001\u968e\u5c64\u69cb\u9020\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u304c\u3001\u300c\u30e1\u30bd\u30c3\u30c9\u3068\u30a4\u30d9\u30f3\u30c8\u300d\u306f\u3001\u5185\u5305\u3057\u3066\u306a\u3044\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3084\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_344\">\u25bc (08)\u30ed\u30fc\u30ab\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3084TypeName\u95a2\u6570\uff0bParent\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3001\u30d8\u30eb\u30d7\u3001\u30a6\u30a9\u30c3\u30c1\u5f0f\u3001\u306a\u3069\u304c\u6271\u3048\u3066\u305d\u306e\u610f\u7fa9\u304c\u308f\u304b\u3089\u306a\u3044\u3068\u3001\u57fa\u672c\u3001\u307e\u3063\u305f\u304f\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002<\/a><br \/>\n\u300c\u521d\u5fc3\u8005\u300d\u306e\u300c\u4e0b\u300d\u306e\u30b9\u30ad\u30eb\u306e\u307e\u307e\u3001\u30bb\u30eb\u3084\u30d5\u30a3\u30eb\u30bf\u306e\u64cd\u4f5c\u306a\u3069\u304c\u3061\u3087\u3053\u3063\u3068\u3067\u304d\u308b\u3060\u3051\u3067\u3044\u3044\u306e\u306a\u3089\u4f55\u306e\u554f\u984c\u3082\u3042\u308a\u307e\u305b\u3093\u304c\u30fb\u30fb\u30fb\u3002\u305f\u3060\u3001\u305d\u306e\u30ec\u30d9\u30eb\u3067\u3059\u3068\u3001\u300c\u30de\u30af\u30ed\u306e\u8a18\u9332\u3067\u3084\u3063\u305f\u307b\u3046\u304c\u65e9\u304f\u306a\u3044\uff1f\u305d\u3082\u305d\u3082VBA\u306a\u3093\u3066\u3053\u308c\u4ee5\u4e0a\u8981\u308b\uff1f\u300d\u3068\u3044\u3046\u72b6\u6cc1\u306b\u9665\u308a\u304b\u306d\u307e\u305b\u3093\u3002<\/p>\n<p>\u8d85\u91cd\u8981\u306a\u53c2\u8003\u8a18\u4e8b<br \/>\n<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/object-browser01\" target=\"_blank\" rel=\"noopener noreferrer\">\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u2605\u8d85\u91cd\u8981\uff01\uff01\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306e\u4f7f\u7528\u76ee\u7684\u30fb\u4f7f\u7528\u610f\u7fa9\uff5e<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_348\">\u25bc (09)\u4e00\u822c\u5909\u6570\uff08\u914d\u5217\u3082\uff09\u3092\u52d5\u304b\u3059\u30fb\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u5909\u6570\u306e\u5916\u5074\u304b\u3089\u3044\u308d\u3093\u306a\u547d\u4ee4\u3092\u4f7f\u3046<\/a><br \/>\n\u4e00\u822c\u5909\u6570\uff08\u914d\u5217\u3082\uff09\u3092\u52d5\u304b\u3059\u30fb\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u5909\u6570\u306e\u5916\u5074\u304b\u3089\u3001\u5b9a\u6570\uff1f\u3001\u6f14\u7b97\u5b50\uff08\u8a18\u53f7\u3081\u3044\u305f\u547d\u4ee4\u3002\u56db\u5247\u6f14\u7b97\u306e\u8a18\u53f7\u3084\uff06\u306a\u3069\uff09\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\uff08\u7e70\u308a\u8fd4\u3057\u6587\u3084\u6761\u4ef6\u5206\u5c90\u6587\u3001\u305d\u306e\u4ed6\u8272\u3005\uff09\u3001VBA\u95a2\u6570\u3001\u3068\u3044\u3063\u305f\u547d\u4ee4\u306a\u3069\u3092\u4f7f\u3063\u3066\u52d5\u304b\u3059\u30a4\u30e1\u30fc\u30b8\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_352\">\u25bc (10)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u5358\u4e00\u30fb\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3068\u3082\u306b\uff09\u3092\u52d5\u304b\u3059\u30fb\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u5185\u5074\u304b\u3089\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u30fb\u30e1\u30bd\u30c3\u30c9\u30fb\u30a4\u30d9\u30f3\u30c8\u300d\u3068\u3044\u3046\u547d\u4ee4\u3092\u5f15\u304d\u51fa\u3057\u306a\u304c\u3089\u30fb\u30fb\u30fb\u3001\u3068\u540c\u6642\u306b\u3001\u5916\u5074\u304b\u3089\u3082\u8272\u3093\u306a\u547d\u4ee4\u3092\u4f7f\u3046<\/a><br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u5358\u4e00\u30fb\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3068\u3082\u306b\uff09\u3092\u52d5\u304b\u3059\u30fb\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u30fb\u30e1\u30bd\u30c3\u30c9\u30fb\u30a4\u30d9\u30f3\u30c8\u300d\u3068\u3044\u3046\u300c\u5185\u5305\u3055\u308c\u308b\u5404\u7a2e\u547d\u4ee4\u3084\u6a5f\u80fd\u300d\u3092\u5185\u5074\u304b\u3089\u5f15\u304d\u51fa\u3057\u3066\u4f7f\u3044\u306a\u304c\u3089\u30fb\u30fb\u30fb\u3001\u3068\u540c\u6642\u306b\u3001\u5916\u5074\u304b\u3089\u306f\u3001\u6f14\u7b97\u5b50\uff08\u8a18\u53f7\u3081\u3044\u305f\u547d\u4ee4\u30fbLike\u306a\u3069\uff09\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\uff08\u7e70\u308a\u8fd4\u3057\u6587\u3084\u6761\u4ef6\u5206\u5c90\u6587\u3001\u305d\u306e\u4ed6\u8272\u3005\uff09\u3001\u5217\u6319\uff08Enum\uff1d\u5404\u7a2e\u52d5\u4f5c\u8a2d\u5b9a\uff09\u3001\u7d44\u8fbc\u5b9a\u6570\uff08\u5217\u6319\u306e\u8a2d\u5b9a\u5024\u306a\u3069\uff09\u3001\u3068\u3044\u3063\u305f\u547d\u4ee4\u306a\u3069\u3092\u4f7f\u3063\u3066\u52d5\u304b\u3059\u3001\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>\u203b\u300cVBA\u95a2\u6570\u300d\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u52d5\u304b\u3059\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u300cVBA\u95a2\u6570\u300d\u306f\u6587\u5b57\u30d9\u30fc\u30b9\u306e\u4e00\u822c\u30c7\u30fc\u30bf\u3092\u52d5\u304b\u3059\uff08\u52a0\u5de5\u306a\u3069\u3059\u308b\uff09\u3053\u3068\u306e\u307b\u3046\u304c\u591a\u3044\u306e\u3067\u3001\u305d\u306e\u3088\u3046\u306b\u3054\u7406\u89e3\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u203b\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u300c\u30b9\u30c8\u30c3\u30d7\u3001\u30b4\u30fc\u3001\u7e70\u308a\u8fd4\u3057\u3001\u6761\u4ef6\u5206\u5c90\u3001\u5909\u6570\u8a2d\u5b9a\u3001\u30a8\u30e9\u30fc\u51e6\u7406\u3001\u958b\u304f\u3001\u9589\u3058\u308b\u300d\u306a\u3069\u306e\u300cOS\u7684\u306a\u30fb\u5171\u901a\u7684\u306a\u300d\u3001\u3042\u308b\u610f\u5473\u3001\u300c\u547d\u4ee4\u300d\u3067\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3001(09)\u306b\u3082(10)\u306b\u3082\u5171\u901a\u306b\u4e21\u65b9\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3082\u3001\u6f14\u7b97\u5b50\u3082\u3001\u95a2\u6570\u3082\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u30a4\u30d9\u30f3\u30c8\u3082\u3001\u5217\u6319\u3001\u7d44\u8fbc\u5b9a\u6570\u3001\u3082\u3001\u300d\u3001\u5168\u90e8\u3001\u300c\u547d\u4ee4\u307f\u305f\u3044\u306a\u3082\u306e\u300d\u300c\u547d\u4ee4\u306e\u4e00\u7a2e\u300d\u3068\u3056\u304f\u3063\u3068\u899a\u3048\u3066\u3057\u307e\u3063\u3066\u3082\u3001\u6700\u521d\u306e\u3046\u3061\u306f\u5927\u4e08\u592b\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u300c\u5909\u6570\u3092\u52d5\u304b\u3059\u305f\u3081\u306e\u300d\u9053\u5177\u3001\u547d\u4ee4\u3001\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u3088\u308a\u5b66\u7fd2\u304c\u9032\u3093\u3060\u3089\u3001\u305d\u306e\u90fd\u5ea6\u305d\u306e\u90fd\u5ea6\u3067\u3001\u300c\u3069\u3093\u306a\u6027\u683c\u306e\u30fb\u3069\u3093\u306a\u30e2\u30ce\u306a\u306e\u304b\u300d\u3092\u3001\u3057\u3063\u304b\u308a\u7406\u89e3\u3057\u5206\u3051\u308c\u3070\u30fb\u533a\u5225\u3092\u3064\u3051\u3066\u3044\u3051\u3070\u3001\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u4e00\u822c\u7684\u306b\u306f\u3001(09)\u3068(10)\u306f1\u3064\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u306b\u300c\u6df7\u5728\u300d\u3057\u307e\u3059\u3002<br \/>\n(09)\u3068(10)\u304c\u5171\u5b58\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u307b\u3046\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>(09)\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u306e\u8a2d\u5b9a\u3084\u3001\u8a08\u7b97\u3001\u6587\u5b57\u7cfb\u30c7\u30fc\u30bf\u306e\u52a0\u5de5\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u52d5\u304b\u3059\u305f\u3081\u306e\u6761\u4ef6\u306e\u6761\u4ef6\u5024\u306e\u8a2d\u5b9a\u7b49\u3005\uff09\u3001\u306a\u3069\u306b\u4f7f\u308f\u308c\u3001(10)\u306f\u6587\u5b57\u901a\u308a\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u64cd\u4f5c\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_370\"><span style=\"color: #ff0000;\"><b>\u25bc (11)\u2605\u2605\u6700\u91cd\u8981\uff01\uff01\uff01\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3001\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u6210\u3001\u914d\u5217\u300d\u3001\u3092\u899a\u3048\u306a\u3044\u3068\u3001\u57fa\u672c\u30fb\u307e\u3063\u305f\u304f\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002<\/b><\/span><\/a><br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3001\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u6210\u3001\u914d\u5217\uff08\u901a\u5e38\u306e\u3082\u306e\u3068Variant\u578b\u306e\u3082\u306e\uff09\u300d\u3001\u3092\u899a\u3048\u306a\u3044\u3068\u3001\u57fa\u672c\u30fb\u307e\u3063\u305f\u304f\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002<br \/>\n\u300c\u4e00\u5fdcVBA\u3092\u6271\u3048\u308b\u3051\u3069\u3001\u9577\u671f\u9593\u30fb\u521d\u7d1a\u306e\u4e0b\u306e\u30ec\u30d9\u30eb\u3092\u8131\u51fa\u3067\u304d\u306a\u3044\u3002Q&A\u30b5\u30a4\u30c8\u306e\u56de\u7b54\u3059\u3089\u7406\u89e3\u3067\u304d\u306a\u3044\u3002\u300d\u3068\u3044\u3046\u30ec\u30d9\u30eb\u306e\u307e\u307e\u3067\u3059\u3002\u305d\u308c\u3067\u3044\u3044\u306a\u3089\u5225\u306b\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3051\u3069\u30fb\u30fb\u30fb\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><b><font style=\"border-bottom:3px double #0000ff;\">\u7279\u306b\u3001\u300c\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u6210\u300d\u304c\u91cd\u8981\u3067\u3059\u3002<\/font><br \/>\n\u3053\u308c\u304c\u5206\u304b\u3089\u306a\u3051\u308c\u3070\u3001VBA\u306f\u300c\u6c38\u9060\u306b\u300d\u300c\u7406\u89e3\u306a\u3069\u300d\u300c\u4e0d\u53ef\u80fd\u300d\u3067\u3059\u3002<br \/>\n\u3053\u306e\u300c\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u6210\u300d\u3068\u3044\u3046\u3082\u306e\u3092\u3082\u3068\u306b\u3001<br \/>\n\u300c\u4f55\u3089\u304b\u306e\uff08\u6642\u306b\u306f\u7279\u306b\u4f55\u306e\u95a2\u4fc2\u3082\u306a\u3044\uff09\u52d5\u4f5c\u3092\u3057\u3064\u3064\u3001\u540c\u6642\u306b\u3001\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u3082\u306e\u300d\u3084<br \/>\n\u300c\u5024\u3092\u8aad\u3080\u3060\u3051\u3067\u306a\u304f\u8a2d\u5b9a\u3082\u3067\u304d\u308b\u95a2\u6570\u300d\u306a\u3069\u3082\u81ea\u4f5c\u3067\u304d\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<\/b><\/span><\/p>\n<p><span style=\"color: #32cd32;\"><b>\u305d\u306e\u305f\u3081\u306b\u306f\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u300d\u30fb\u30fb\u30fb\u30fb\u3001\u7279\u306b\u300cObject\u300d\u578b\u3068\u304b\u3001\u300cVariant\u300d\u578b\u3001\u4ee5\u5916\u306e\u3001\u300cWorksheet\u578b\u300d\u300cWorkbook\u578b\u300d\u3001\u300cRange\u578b\u300d\u306a\u3069\u3001\u500b\u5225\u306e\u3061\u3083\u3093\u3068\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u578b\u3092\u899a\u3048\u306a\u304f\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002<\/b><\/span><br \/>\n<span style=\"color: #ff0000;\"><b>\uff08\u306a\u306e\u3067\u3001\u95a2\u9023\u3057\u3066\u3001\u300c\u5909\u6570\u306a\u3093\u3066\u5168\u90e8Variant\u3067\u3044\u3044\u300d\u306a\u3093\u3066\u8a00\u3063\u3066\u3044\u308b\u4eba\u306f\u300c\u611a\u304b\u300d\u306e\u6975\u307f\u3067\u3059\u3002\u305d\u3093\u306a\u3053\u3068\u306f\u611a\u304b\u306a\u3072\u3068\u3057\u304b\u8a00\u3044\u307e\u305b\u3093\u3002\u6c5a\u3044\u8a00\u8449\u3067\u672c\u5f53\u306b\u3059\u307f\u307e\u305b\u3093\u304c\u300c\u30c8\u30c1\u72c2\u3063\u3066\u307e\u3059\u300d\u3068\u8a00\u3063\u3066\u3057\u307e\u3063\u3066\u3082\u3044\u3044\u304f\u3089\u3044\u3067\u3059\u3002<br \/>\n\u300c\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u6210\u300d\u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3089VBA\u306a\u3093\u3066\u6c38\u9060\u306b\u7406\u89e3\u3067\u304d\u306a\u3044\u3063\u3066\u3044\u3046\u306e\u306b\u30fb\u30fb\u30fb\u3002\u3002\u7d76\u5bfe\u306b\u8a00\u3046\u3053\u3068\u805e\u304b\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n\u4f55\u5ea6\u3082\u8a00\u3044\u307e\u3059\u304c\u3001\u300c\u7a74\u3060\u3089\u3051\u306e\u30a8\u30e9\u30fc\u3082\u81ea\u529b\u3067\u6cbb\u305b\u306a\u3044\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d\u3067\u3044\u3044\u306a\u3089\u3001\u5b66\u3076\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3051\u3069\u3001\u4ed6\u4eba\u304c\u4f7f\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3061\u3087\u3063\u3068\u3067\u3082\u4f5c\u308a\u305f\u3044\u3001\u3068\u304b\u3001<font style=\"border-bottom:3px double #ff0000;\">\u300c\u77e5\u3063\u305f\u304b\u3076\u308a\u306e\u611a\u304b\u8005\u306b\u306a\u308a\u305f\u304f\u306a\u3044\u300d\u300c\u77e5\u3063\u305f\u304b\u3076\u308a\u3057\u3066\u6065\u3092\u304b\u304d\u305f\u304f\u306a\u3044\u300d\u3068\u3044\u3046\u5834\u5408\u306f\u5fc5\u9808<\/font>\u3067\u3059\u3002\uff09<\/b><\/span><\/p>\n<p><span style=\"color: #ff8c00;\"><b><font style=\"border-bottom:3px double #0000ff;\">\u3082\u3057\u9762\u63a5\u3067\u3001\u300cVBA\u306e\u5b9f\u529b\u300d\u3092\u8abf\u3079\u305f\u3044\u6642\u3001\u305d\u306e\u4eba\u306eVBA\u306e\u5b9f\u529b\u3092\u8abf\u3079\u308b\u306e\u306f\u7c21\u5358\u3067\u3059\u3002<br \/>\n30\u79d2\u3067\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\n\u300e \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3068\u30d8\u30eb\u30d7\u304c\u81ea\u529b\u3067\u8aad\u3081\u3066\u3001\u300c\u4f55\u3089\u304b\u306e\uff08\u6642\u306b\u306f\u7279\u306b\u4f55\u306e\u95a2\u4fc2\u3082\u306a\u3044\uff09\u52d5\u4f5c\u3092\u3057\u3064\u3064\u3001\u540c\u6642\u306b\u3001\u5024\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u3082\u306e\u300d\u3084\u300c\u5024\u3092\u8aad\u3080\u3060\u3051\u3067\u306a\u304f\u8a2d\u5b9a\u3082\u3067\u304d\u308b\u95a2\u6570\u300d\u304c\u3055\u3055\u3063\u3068\u4f5c\u308c\u307e\u3059\u304b\uff1f\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3092\u30e1\u30bd\u30c3\u30c9\u4ee5\u5916\u3067\u3082\u4f7f\u3048\u307e\u3059\u304b\uff1f \u307e\u305f\u3001Excel\u3067<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u304c\u4f7f\u3048\u308b\u5834\u6240\u3092\u30fb2\u304b\u6240\u4ee5\u4e0a\u30fb\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u300f<br \/>\n\u3068\u805e\u304f\u3060\u3051\u3067\u3059\u3002<\/font><br \/>\n\u300c\uff1f\uff1f\uff1f\u300d\u306a\u9854\u3092\u3057\u305f\u308a\u3001\u300c\u3046\u3063\u300d\u3068\u3044\u3046\u9854\u3092\u3057\u305f\u3089\u3001\u3082\u3046\u30c0\u30e1\u3067\u3059\u3002<br \/>\n\u305d\u306e\u4eba\u306f\u3001VBA\u3092\u4f5c\u308b\u4eba\u3068\u3057\u3066\u306f\u300c\u5373\u6226\u529b\u300d\u306b\u306f\u300c\u6b7b\u3093\u3067\u3082\u300d\u300c\u306a\u308a\u307e\u305b\u3093\u3002\u300d<br \/>\n\u300c\u3067\u304d\u307e\u3059\u300d\u3068\u30a6\u30bd\u3092\u8a00\u3046\u4eba\u3082\u5c45\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306e\u3067\u305d\u306e\u5834\u5408\u306f\u3001Excel\u3067<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u304c\u4f7f\u3048\u308b\u5834\u6240\u30922\u304b\u6240\u4ee5\u4e0a\u30fb\u305d\u306e\u5834\u3067\u30fb\u5b9f\u969b\u306b\u8a00\u3063\u3066\u3082\u3089\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u3042\u308b\u3044\u306f\u3001<font style=\"border-bottom:3px double #0000ff;\">\u3055\u3089\u306b\u3001\u300c<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/object-browser01\" target=\"_blank\" rel=\"noopener noreferrer\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306e\u5229\u7528\u610f\u7fa9<\/a>\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u805e\u3051\u3070\u5927\u62b5\u306fOK\u3067\u3057\u3087\u3046\u3002<\/font><a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/object-browser01\" target=\"_blank\" rel=\"noopener noreferrer\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306e\u5229\u7528\u610f\u7fa9<\/a>\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3092\u666e\u6bb5\u304b\u3089\u4f7f\u3063\u3066\u3044\u308b\u4eba\u306b\u3057\u304b\u7d76\u5bfe\u306b\u308f\u304b\u308a\u307e\u305b\u3093\u304b\u3089\u3002\u305d\u3057\u3066\u3001\u305d\u3046\u3044\u3046\u65b9\u306fWeb\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u30b3\u30d4\u30da\u3060\u3051\u3057\u304b\u3057\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u306f\u7d76\u5bfe\u306b\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u3002<br \/>\n<font style=\"border-bottom:3px double #0000ff;\">\u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001\u300cExcel\u3067<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u304c\u4f7f\u3048\u308b\u5834\u6240\u3092\u30fb2\u304b\u6240\u4ee5\u4e0a\u30fb\u8a00\u3048\u306a\u3044\u4eba\u300d\u306f\u300c100\uff05\u300d\u3001\u300c\u672c\u6765\u66f8\u304b\u306a\u304f\u3066\u3044\u3044\u7121\u99c4\u306aVBA\u30b3\u30fc\u30c9\u3092\u3001\u7d50\u69cb\u306a\u91cf\u3001\u7d76\u5bfe\u306b\u66f8\u304d\u307e\u3059\u3002\u300d<\/font><\/b><\/span><\/p>\n<p><span style=\"color: #0000ff;\"><b>\u3044\u3064\u3082\u3069\u304a\u308a\u3001\u8a71\u304c\u9038\u308c\u3066\u3059\u307f\u307e\u305b\u3093\u30fb\u30fb\u30fb\u3002<BR><br \/>\n\u7d50\u5c40\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3001\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u6210\u3001\u914d\u5217\u300d\u304c\u899a\u3048\u3089\u308c\u306a\u3051\u308c\u3070\u30fb\u30fb\u30fb\u30fb\u3001<br \/>\n(a)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306a\u3093\u3066\u307e\u3063\u305f\u304f\u899a\u3048\u3089\u308c\u306a\u3044\u3002\u7d50\u679c\u3001\u5fdc\u7528\u304c\u304d\u304b\u306a\u3044\u3002<br \/>\n(b)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u3082\u6271\u3048\u306a\u3044\u3002<br \/>\n(c)\u30d8\u30eb\u30d7\u3082\u81ea\u529b\u3067\u8aad\u3081\u306a\u3044\u3002\u5f53\u7136\u3001\u30a8\u30e9\u30fc\u306e\u30b9\u30d4\u30fc\u30c7\u30a3\u306a\u89e3\u6c7a\u3082\u81ea\u529b\u3067\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n(d)Q&A\u30b5\u30a4\u30c8\u3067\u8cea\u554f\u3057\u3066\u3082\u56de\u7b54\u8005\u306e\u56de\u7b54\u306e\u610f\u5473\u3059\u3089\u308f\u304b\u3089\u306a\u3044\u3002<br \/>\n\u30fb\u30fb\u30fb\u30fb\u3067\u3057\u3087\u3046\u3002<\/b><\/span><\/p>\n<p><span style=\"color: #32cd32;\"><b>\u7406\u7531\u306f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u30e1\u30bd\u30c3\u30c9\u3082\u524d\u8ff0\u3057\u307e\u3057\u305f\u3068\u304a\u308a\u3001\u300c\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u300d\u3068\u4f3c\u305f\u3088\u3046\u306a\u52d5\u304d\u3092\u3059\u308b\u304b\u3089\u3067\u3059\u3002<br \/>\n<font style=\"border-bottom:3px double #ff0000;\">\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u3057\u3063\u304b\u308a\u3057\u305f\u7406\u89e3\u7121\u304f\u3057\u3066\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u64cd\u4f5c\u81ea\u4f53\u300d\u304c\u7406\u89e3\u30fb\u30a4\u30e1\u30fc\u30b8\u3067\u304d\u3088\u3046\u306f\u305a\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/font><BR><br \/>\n<font style=\"border-bottom:3px double #ff0000;\">\u307e\u305f\u3001\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u300d\u306b\u3064\u3044\u3066\u3082\u540c\u69d8\u3067\u3059\u3002<br \/>\n\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u300d\u306f\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u307f\u306a\u3089\u305a\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002<\/font><br \/>\n\u3082\u3063\u3068\u8a00\u3046\u3068\u3001\u300c\u5f15\u6570\u3092\u3082\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u30fb\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u30fb\u81ea\u4f5c\u95a2\u6570\u300d\u306a\u3089\u3001\u57fa\u672c\u3001\u300c\u4f7f\u3048\u307e\u3059\u300d\u3002<br \/>\n<font style=\"border-bottom:3px double #ff0000;\">\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u300d\u306b\u3064\u3044\u3066\u306e\u6b63\u3057\u3044\u7406\u89e3\u7121\u304f\u3057\u3066\u3082\u3001\u3053\u308c\u307e\u305f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u64cd\u4f5c\u81ea\u4f53\u300d\u304c\u7406\u89e3\u30fb\u30a4\u30e1\u30fc\u30b8\u3067\u304d\u3088\u3046\u306f\u305a\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/font>\uff08\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u300d\u306f\u3082\u3068\u3082\u3068\u306f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u95a2\u6570\u300d\u300c\u81ea\u4f5c\u95a2\u6570\u300d\u3042\u308b\u3044\u306f\u300c\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u306e\u3082\u306e\u306e\u3088\u3046\u3067\u3059\u3002\u30d8\u30eb\u30d7\u306b\u305d\u3046\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002\uff09<br \/>\n\u305d\u3057\u3066\u300c\u5f15\u6570\u3092\u3082\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u30fb\u95a2\u6570\u30fb\u81ea\u4f5c\u95a2\u6570\u300d\u304c\u4f5c\u308c\u306a\u3044\u4eba\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52b9\u7387\u5316\u30fb\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u52b9\u7387\u5316\u304c\u3067\u304d\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u306f\u300c\u6c38\u9060\u306b\u300d\u300c\u3042\u308a\u307e\u305b\u3093\u3002\u300d<br \/>\n\u300c\u5024\u3092\u8fd4\u3059\u95a2\u6570\u3059\u3089\u300d\u3082\u4f5c\u308c\u307e\u305b\u3093\u306e\u3067\u3002<\/b><\/span><\/p>\n<p>\u203b\u914d\u5217\uff08\u7279\u306bVariant\u578b\u306e\u3082\u306e\uff09\u306f\u3001\u8868\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u3067\u6271\u3046\u3068\u304d\u3084\u901f\u5ea6\u30a2\u30c3\u30d7\u306a\u3069\u306e\u3068\u304d\u306b\u4f7f\u3063\u305f\u308a\u3059\u308b\u305d\u3046\u3067\u3059\u3002\u50d5\u306f<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u3084MicrosoftQuery\u3001QueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3001\u901f\u5ea6\u7684\u306b\u56f0\u3063\u305f\u3053\u3068\u304c\u306a\u304f\u3001\u307e\u3060\u4f7f\u3063\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u914d\u5217\u306e\u4ed5\u7d44\u307f\u3068\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u4ed5\u7d44\u307f\u306f\u3001\u5c11\u3057\u4f3c\u3066\u3044\u307e\u3059\u306e\u3067\u305d\u306e\u610f\u5473\u3067\u3082\u914d\u5217\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3092\u65e9\u3044\u6bb5\u968e\u3067\u5b66\u7fd2\u3057\u30fb\u3059\u3050\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u306f\u91cd\u8981\u3067\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_375\">\u25bc (12)\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306f\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u95a2\u6570\u3001\u5f15\u6570\u3092\u6301\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3001\u306e\u3082\u306e\u3067\u3082\u3042\u308a\u307e\u3059<\/a><br \/>\n\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306f\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3060\u3051\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u305d\u3082\u305d\u3082\u3001\u300c\u95a2\u6570\uff08\u3042\u308b\u3044\u306f\u300c\u5f15\u6570\u3092\u6301\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\uff09\u300d\u306e\u3082\u306e\u3067\u3059\u3002<br \/>\n\u30d8\u30eb\u30d7\u306b\u305d\u3046\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u30702010\u306eVBE\u30d8\u30eb\u30d7\u306a\u3089\u3001\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3068\u7701\u7565\u53ef\u80fd\u306a\u5f15\u6570\u306e\u6982\u8981\u300d\u3068\u304b\u3001\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u300d\u3001\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u300d\u3001\u300c\u305d\u306e\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306f\u3001\u65e2\u306b\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u300d\u3001\u3068\u3044\u3063\u305f\u30c8\u30d4\u30c3\u30af\u3092\u8aad\u3080\u3068\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306f\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3060\u3051\u3082\u306e\u3067\u306f\u306a\u3044\u308f\u3051\u306a\u306e\u3067\u3001\u7d50\u5c40\u306e\u3068\u3053\u308d\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3084\u300c\u5f15\u6570\u3092\u6301\u3064\u81ea\u4f5c\u95a2\u6570\u300d\u3001\u3042\u308b\u3044\u306f\u300c\u5f15\u6570\u3092\u6301\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306e\u5834\u5408\u30fb\u30fb\u30fb\u3001<br \/>\n\u300c\u30bb\u30eb\uff08\uff1dRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u300d\u3092\u53d6\u5f97\u3057\u305f\u3044\u3068\u304d\u306f\u3001Worksheet.Range \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u3001<br \/>\n\u300cRange(\"A1\")\u300d\u3068\u66f8\u304f\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001\u3053\u308c\u3092\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3092\u4f7f\u3063\u3066\u3001<br \/>\n\u300cRange(cell1:=\"A1\")\u300d\u3068\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30eb\u7bc4\u56f2\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001<br \/>\n\u300cRange(cell1:=\"A1\", _<br \/>\n\u3000\u3000\u3000\u3000\u3000cell2:=\"C3\")\u300d<br \/>\n\u306e\u3088\u3046\u306b\u300c _ \u300d\uff08\u30a2\u30f3\u30c0\u30fc\u30d0\u30fc\uff09\u3092\u4f7f\u3063\u3066\u8907\u6570\u884c\u3067\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5c0f\u3055\u306a\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u4f5c\u3063\u3066\u3001<\/p>\n<p>Debug.Print Range(cell1:=\"A1\", _<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000cell2:=\"C3\").Count<\/p>\n<p>\u3068\u66f8\u3044\u3066Enter\u3057\u305f\u3089\u3001\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u3001\u300c\uff19\u300d\u3068\u3044\u3046\u5f62\u3067\u3001\u30bb\u30eb\u7bc4\u56f2\u306e\u30bb\u30eb\u306e\u500b\u6570\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>Range\u306e\u5834\u5408\u306f\u3001\u5f15\u6570\u306e\u6570\u304c\u5c11\u306a\u3044\u306e\u3067\u304b\u3048\u3063\u3066\u3001\u8aad\u307f\u306b\u304f\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u5f15\u6570\u306e\u6570\u304c\u591a\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5834\u5408\u306f\u3001\u591a\u5c11\u4f7f\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u540c\u69d8\u306b\u3001\u300c\u5f15\u6570\u3092\u6301\u3064\u81ea\u4f5c\u95a2\u6570\u300d\u300c\u5f15\u6570\u3092\u6301\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u300d\u3067\u3082\u540d\u524d\u4ed8\u304d\u5f15\u6570\u306f\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u9006\u306b\u3001<br \/>\n\u540d\u524d\u4ed8\u304d\u5f15\u6570\u304c\u3001\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3067\u3082\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3067\u3082\u4f7f\u3048\u3066\u3001\u304b\u3064\u3001<br \/>\n\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u81ea\u4f53\u306f\u95a2\u6570\u3084\u5f15\u6570\u3092\u6301\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u3082\u306e\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3042\u308b\u306a\u3089\u3001<br \/>\n\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3084\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3063\u3066\u3044\u3046\u306e\u306f\u3001<br \/>\n\u300c\u540d\u524d\u4ed8\u304d\u5f15\u6570\u3092\u4f7f\u3048\u308b\u308f\u3051\u3060\u304b\u3089\u3001\u305f\u3076\u3093\u3001\u95a2\u6570\u3084\u5f15\u6570\u3092\u6301\u3064\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u4f3c\u305f\u4ed5\u7d44\u307f\u306a\u3093\u3060\u30fb\u30fb\u30fb\u30fb\u300d\u3001<br \/>\n\u3068\u3044\u3046\u63a8\u6e2c\u30fb\u4eee\u8aac\u304c\u7acb\u3064\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u3082\u5b9f\u969b\u3001\u305d\u3046\u8003\u3048\u308b\u3068\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u306e\u8aac\u660e\u30da\u30a4\u30f3\u306b\u3001<br \/>\n\u300cProperty Application As Application\u300d\u307f\u305f\u3044\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u306e\u3082\u306a\u3093\u3068\u306a\u304f\u7d0d\u5f97\u3067\u304d\u308b\u6c17\u304c\u3057\u307e\u3059\u3057\u3001\u305d\u3046\u8003\u3048\u3066\u3057\u307e\u3063\u305f\u65b9\u304c\u3001\u9006\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u69cb\u9020\u306e\u5168\u4f53\u304c\u5206\u304b\u308a\u3084\u3059\u304f\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<a name=\"lbl_415\"><span style=\"color: #ff0000;\"><b>\u25bc (13)\u2605\u2605\uff12\u3064\u3081\u306b\u91cd\u8981\uff01\uff01\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u304c\u6271\u3048\u308c\u3070\u3001\u300c\u8af8\u60aa\u306e\u6839\u6e90\u306e\u3072\u3068\u3064\u300d\u306e\u300cWith\u300d\uff1d\u300cWith\u306e\u751f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3067\u5b89\u6613\u306a\u4f7f\u7528\u300d\u304c\u8981\u3089\u306a\u3044\u5834\u9762\u304c\u5897\u3048\u308b<\/b><\/span><\/a><br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u304c\u6271\u3048\u308c\u3070\u3001\u300cWith\u300d\u3068\u3044\u3046\u547d\u4ee4\u3081\u3044\u305f\u3082\u306e\u306f\u901f\u5ea6\u7684\u306a\u554f\u984c\u3084\u305d\u306e\u4ed6\u306e\u300c\u3069\u3046\u3057\u3066\u3082With\u3092\u4f7f\u308f\u3093\u3068\u3042\u304b\u3093\u300d\u3001\u3068\u3044\u3046\u30b1\u30fc\u30b9\u304c\u7121\u3044\u9650\u308a\u3001\u3042\u307e\u308a\u8981\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u597d\u307f\u306e\u554f\u984c\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3051\u3069\u30fb\u30fb\u30fb\u3002<br \/>\n\u50d5\u306f\u30d0\u30ab\u3060\u304b\u3089With\u3092\u4f7f\u3046\u3068\u30b3\u30fc\u30c9\u304c\u8aad\u307f\u306b\u304f\u304f\u3066\u3001\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3057\u3061\u3083\u3044\u3084\u3059\u3044\u306e\u3067\u3001\u307e\u305f\u3001\u4f5c\u308a\u5909\u3048\u304c\u3057\u306b\u304f\u3044\u306e\u3067\u3001\u307b\u3068\u3093\u3069\u4f7f\u3044\u307e\u305b\u3093\u3002<br \/>\n\u30de\u30af\u30ed\u306e\u81ea\u52d5\u8a18\u9332\u3067\u81ea\u52d5\u8a18\u9332\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3067With\u304c\u4f7f\u3063\u3066\u3042\u3063\u305f\u3089\u3001\u57fa\u672c\u3001\u76f4\u3057\u307e\u3059\u3002<br \/>\n\uff08\u30b3\u30b9\u30d1\u7684\u306b\uff09\u76f4\u3059\u5fc5\u8981\u304c\u306a\u3044\u3068\u304d\u306f\u3001\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u307e\u3059\u3051\u3069\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u30fb\u30fb\u30fb\u30fb\u3068\u3044\u3044\u307e\u3059\u304b\u30fb\u30fb\u30fb\u30fb\u6700\u521d\u304b\u3089\u300cWith\u300d\u3092\u899a\u3048\u3066\u3057\u307e\u3046\u3068\u300cVBA\u7684\u300d\u306b\u3001\u300c\u30d0\u30ab\u306b\u3055\u305b\u3089\u308c\u3066\u3057\u307e\u3046\u300d\u3068\u3055\u3048\u601d\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u5df7\u306b\u306f\u3001\u300c\u751f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u307e\u307e\u300d\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3057\u306a\u3044\u307e\u307e\u300d\u3001\u81ea\u6162\u3052\u306b\u3001\u300cWith\u3092\u4f7f\u304a\u3046\uff01\u300d\u306a\u3093\u3066\u66f8\u3044\u3066\u3042\u308b\u66f8\u7c4d\u30fb\u30b5\u30a4\u30c8\u30fb\u96d1\u8a8c\u8a18\u4e8b\u306a\u3069\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u304c\u3001\u300c\u305d\u308c\u3053\u305d\u304c\u8af8\u60aa\u306e\u6839\u6e90\u300d\u3067\u3057\u3066\u3001\u300c\u3053\u306e\u65b9\u3005\u306f\u30c0\u30e1\u306a\u3072\u3068\u305f\u3061\u3070\u3063\u304b\u308a\u3060\u308f\uff01\u3042\u306a\u305f\u65b9\u306e\u3088\u3046\u306a\u30c0\u30e1\u306a\u3072\u3068\u305f\u3061\u306f\u3001\u96d1\u8a8c\u8a18\u4e8b\u3084\u66f8\u7c4d\u3092\u66f8\u304b\u306a\u3044\u3067\uff01\uff01\u300d\u3068\u3055\u3048\u601d\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3082\u305d\u3082\u300cWith\u300d\u306f\u300c\u751f\u306e\u300d\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u304b\u3089\u3067\u3082\u300c\u305d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u5bfe\u3057\u3066\u3082\u300d\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u3067\u3059\u306e\u3067\u3001<\/p>\n<p>\u300c\u521d\u5fc3\u8005\u306e\u3046\u3061\u306f\u300d<\/p>\n<p>\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u968e\u5c64\u69cb\u9020\u30fb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u30fb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u30fb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u30c7\u30fc\u30bf\u578b\u300d\u3092\u3057\u3063\u304b\u308a\u899a\u3048\u308b\u305f\u3081\u306b\u3001<\/p>\n<p>\u307e\u305f\u3001\u540c\u6642\u306b\u3001<\/p>\n<p>\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u968e\u5c64\u69cb\u9020\u304c\u3089\u307f\u306e\u30a8\u30e9\u30fc\u300d\u3084\u300c\u578b\u304c\u3089\u307f\u306e\u30a8\u30e9\u30fc\u300d\u306a\u3069\u3092\u300c\u56de\u907f\u300d\u3059\u308b\u305f\u3081\u306b\u3001<\/p>\n<p>\u300cWith\u306f\u300d\u3001<\/p>\n<p>\u300c\u9762\u5012\u3067\u3082\u300d\u300c\u305d\u308c\u3092\u627f\u77e5\u306e\u4e0a\u3067\u300d\u300c\u751f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u304b\u3089\u300d\u3001<\/p>\n<p>\u4f7f\u3046\u3079\u304d<\/p>\n<p>\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u300c\u3053\u306e\u65b9\u3005\u306f\u30c0\u30e1\u306a\u3072\u3068\u305f\u3061\u3070\u3063\u304b\u308a\u3060\u308f\uff01\u3042\u306a\u305f\u65b9\u306e\u3088\u3046\u306a\u30c0\u30e1\u306a\u3072\u3068\u305f\u3061\u306f\u3001\u96d1\u8a8c\u8a18\u4e8b\u3084\u66f8\u7c4d\u3092\u66f8\u304b\u306a\u3044\u3067\uff01\uff01\u300d\u3068\u3044\u3046\u60b2\u60e8\u306a\u72b6\u6cc1\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306f\u30fb\u30fb\u30fb\u30fb\u3001\u591a\u5206\u30fb\u30fb\u30fb\u3067\u3059\u304c\u30fb\u30fb\u30fb\u30fb\u3001\u63a8\u6e2c\u30fb\u30fb\u30fb\u3067\u3059\u304c\u30fb\u30fb\u30fb\u3001<\/p>\n<p>\u300c\u30de\u30af\u30ed\u306e\u8a18\u9332\u300d\u3092\u3084\u308b\u3068\u3001\u300c\u751f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u307e\u307eWith\u3092\u4f7f\u3046\u300d\u3001\u300c\u305d\u3046\u3044\u3046\u30b3\u30fc\u30c9\u304c\u81ea\u52d5\u751f\u6210\u3055\u308c\u308b\u304b\u3089\u300d\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><b>\u30ab\u30c3\u30b3\u3064\u3051\u3066\u3001\uff08\u4eca\u3068\u306a\u3063\u3066\u306f\uff09\u5927\u3057\u3066\u901f\u304f\u3082\u306a\u3089\u306a\u3044\u30fb\u304b\u3064\u30fb\u5927\u3057\u3066\u5927\u304d\u306a\u610f\u5473\u306a\u3093\u3066\u306a\u3044\u300cWith\u300d\u306a\u3093\u304b\u5225\u306b\u4f7f\u308f\u306a\u304f\u3066\u3082\u3044\u3044\u304b\u3089\u3001\u300c\u305d\u3093\u306a\u3053\u3068\u3059\u308b\u524d\u306b\u300d\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u300d\u3068\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3078\u306e\u4ee3\u5165\u300d\u3001\u3092\u3057\u3063\u304b\u308a\u4f53\u3067\u899a\u3048\u3066\u3001\u81ea\u5206\u306e\u5b9f\u306b\u3059\u308b\u3053\u3068\u3053\u305d\u304c\u3001\u300cVBA\u306e\u4e0a\u9054\u3092\u65e9\u3081\u307e\u3059\u300d\u3002<\/b><\/span><br \/>\n\u3069\u3046\u304b\u3001\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u300cWith\u300d\u306f\u3001\u30e1\u30c1\u30e3\u30af\u30c1\u30e3\u30c7\u30fc\u30bf\u91cf\u304c\u591a\u304f\u3066\u3001\u300c\u3069\u3046\u3057\u3066\u3082\u9045\u3044\u300d\u3068\u3044\u3046\u6642\u3084\u3001\u305d\u306e\u307b\u304b\u3001\u300cWith\u3092\u4f7f\u308f\u306a\u3044\u3068\u554f\u984c\u304c\u89e3\u6c7a\u3067\u304d\u306a\u3044\u300d\u3068\u3044\u3046\u6642\u3060\u3051\u3001\u4f7f\u7528\u3092\u691c\u8a0e\u3059\u308c\u3070OK\u3067\u3059\u3002<br \/>\n\u305d\u308c\u4ee5\u5916\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3092\u4f7f\u3046\u3084\u308a\u65b9\u3067\u307e\u3063\u305f\u304f\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3082\u300c\u521d\u5fc3\u8005\u3092\u8131\u3057\u3066\u3001\u4e2d\u7d1a\u306e\u4e2d\u4ee5\u4e0a\u306b\u306a\u3063\u3066\u304b\u3089\u300d\u3067\u3082\u305c\u3093\u3063\u305c\u3093\u9045\u304f\u306a\u3044\u3067\u3059\u3002<\/p>\n<p>\u305d\u3082\u305d\u3082\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u300d\u304c\u308f\u304b\u3089\u306a\u3044\u3001<br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3078\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u4ee3\u5165\u300d\u3001\u304c\u7406\u89e3\u3067\u304d\u3066\u306a\u3044\u3001<br \/>\n\u3068\u3044\u3046\u3053\u3068\u306e\u307b\u3046\u304c\u300c\u81f4\u547d\u7684\u300d\u306a\u3001\u5927\u554f\u984c\u3001\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30b7\u30fc\u30c8\uff12\uff08Sheet2\uff09\u304b\u3089\u30b7\u30fc\u30c8\uff11\uff08Sheet1\uff09\u3078\u306e\u30c7\u30fc\u30bf\u8ee2\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306aWith\u3092\u4f7f\u3063\u305f\u30b3\u30fc\u30c9\u304c\u3042\u3063\u305f\u3068\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">\r\n'\r\n'\r\nSub test01()\r\n\r\n    Sheets(\"Sheet1\").Cells.ClearContents\r\n    Sheets(\"Sheet1\").Activate\r\n    \r\n    With Sheets(\"Sheet2\")\r\n        Range(\"B2\") = .Range(\"B2\")\r\n        Range(\"B3\") = .Range(\"B3\")\r\n        Range(\"B4\") = .Range(\"B4\")\r\n        Range(\"D2:E5\").Value = .Range(\"D2:E5\").Value   '\u7bc4\u56f2\u306e\u8ee2\u8a18\u306f\u300cValue\u300d\u306e\u7701\u7565\u4e0d\u53ef\uff1f\u3002\r\n    End With\r\n\r\nEnd Sub\r\n'\r\n'\r\n<\/pre>\n<p>\u3053\u308c\u3092\u3001\u30b7\u30fc\u30c8\uff11\u3068\u30b7\u30fc\u30c8\uff12\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u3001\u300cWith\u3092\u53d6\u308b\u300d\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">\r\n'\r\n'\r\nSub test02()\r\n\r\n    Dim WS_Src  As Worksheet  '\u300cSrc\u300d\uff1d\u300c\u30bd\u30fc\u30b9\u300d\uff1d\u60c5\u5831\u6e90\u3001\u306e\u7565\r\n    Dim WS_Trg  As Worksheet  '\u300cTrg\u300d\uff1d\u300c\u30bf\u30fc\u30b2\u30c3\u30c8\u300d\u306e\u7565\r\n\r\n    '\u5404\u7a2e\u8a2d\u5b9a\u90e8\r\n    Set WS_Src = ActiveWorkbook.Worksheets(\"Sheet2\") '\u30c7\u30fc\u30bf\u306e\u8ee2\u8a18\u5143\uff1d\u60c5\u5831\u6e90\u3068\u306a\u308b\u30b7\u30fc\u30c8\u306e\u8a2d\u5b9a\r\n    Set WS_Trg = ActiveWorkbook.Worksheets(\"Sheet1\") '\u30c7\u30fc\u30bf\u306e\u8ee2\u8a18\u5148\u3068\u306a\u308b\u30b7\u30fc\u30c8\u306e\u8a2d\u5b9a\r\n    \r\n    '\u5b9f\u50cd\u90e8\u3002\u4e8b\u524d\u6e96\u5099\u90e8\u5206\u3002\r\n    WS_Trg.Cells.ClearContents\r\n    WS_Trg.Activate\r\n    \r\n        '\u5b9f\u50cd\u90e8\u306e\u4e2d\u6838\u3002\u5b9f\u969b\u306e\u8ee2\u8a18\u51e6\u7406\u3002\r\n        WS_Trg.Range(\"B2\") = WS_Src.Range(\"B2\")\r\n        WS_Trg.Range(\"B3\") = WS_Src.Range(\"B3\")\r\n        WS_Trg.Range(\"B4\") = WS_Src.Range(\"B4\")\r\n        WS_Trg.Range(\"D2:E5\").Value = WS_Src.Range(\"D2:E5\").Value '\u7bc4\u56f2\u306e\u8ee2\u8a18\u306f\u300cValue\u300d\u306e\u7701\u7565\u4e0d\u53ef\uff1f\u3002\r\n\r\nEnd Sub\r\n'\r\n'\r\n<\/pre>\n<p>\u305d\u3093\u306a\u306b\u898b\u3065\u3089\u304f\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u300cWS_Src\u300d\u3001\u3064\u307e\u308a\u3001\u8ee2\u8a18\u300c\u5143\u300d\u306e\u30b7\u30fc\u30c8\u304c\u300c\u30b7\u30fc\u30c82\u300d\u3001<br \/>\n\u300cWS_Trg\u300d\u3001\u3064\u307e\u308a\u3001\u8ee2\u8a18\u300c\u5148\u300d\u306e\u30b7\u30fc\u30c8\u304c\u300c\u30b7\u30fc\u30c81\u300d\u3001\u3068\u3044\u3046\u3053\u3068\u3082\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3057\u3001<br \/>\n\u300cWS_Trg\uff08\uff1d\u30bf\u30fc\u30b2\u30c3\u30c8\uff09\u300d\u306e\u30bb\u30eb\u3078\u3001\u300cWS_Src\uff08\uff1d\u30bd\u30fc\u30b9\uff09\u300d\u306e\u30bb\u30eb\u306e\u5024\u3092\u4ee3\u5165\u3057\u3066\u3044\u308b\u3053\u3068\u3082\u30c1\u30a7\u30c3\u30af\u3057\u3084\u3059\u3044\u3067\u3059\u3002<br \/>\n\u8a18\u8ff0\u304c\u300c\u8868\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u76ee\u306b\u6620\u308b\u300d\u305f\u3081\u3001\u300c\u304b\u3048\u3063\u3066\u898b\u3084\u3059\u3044\u300d\u3068\u3044\u3046\u4eba\u3082\u5c45\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092<br \/>\n\u300c\u8a2d\u5b9a\u90e8\u300d\u3068<br \/>\n\u300c\u5b9f\u50cd\u90e8\u300d\u306b\u308f\u3051\u308b\u3053\u3068\u3067\u3001<br \/>\n\u66f8\u304d\u63db\u3048\u30fb\u4f5c\u308a\u5909\u3048\u3082\u30e9\u30af\u306b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u9006\u306b\u8a00\u3046\u3068\u3001\u300c\u66f8\u304d\u63db\u3048\u30fb\u4f5c\u308a\u5909\u3048\u3092\u8996\u91ce\u306b\u3044\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u300d\u307e\u3059\u3002<\/p>\n<p>\u300cWS_Src.\u300d\u3084\u300cWS_Trg.\u300d\u3068\u3044\u3046\u8a18\u8ff0\u306f\u57fa\u672c\u3001Dim\u30fb\u30fb\u30fb\u30fb\u306e\u5ba3\u8a00\u306e\u3068\u3053\u308d\u306e\u5358\u8a9e\uff08\u5909\u6570\uff09\u3092\u30b3\u30d4\u30da\u3067\u300c\u7e26\u306b\u3060\u3060\u3060\u30fc\u3063\u3068\u300d\u3084\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u8a18\u8ff0\u9593\u9055\u3044\u3082\u8d77\u3053\u308a\u307e\u305b\u3093\u3057\u3001\u300c\u9762\u5012\u300d\u3068\u3044\u3046\u3053\u3068\u3082\u3055\u307b\u3069\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u91cd\u8981\u306a\u306e\u306f\u30fb\u30fb\u30fb\u30fb<\/p>\n<p>(a)\u64cd\u4f5c\u3059\u308b\u30b7\u30fc\u30c8\u3092\u5909\u66f4\u3057\u305f\u3044\u6642\u3001\u300c\u8a2d\u5b9a\u90e8\u300d\u306e Set \u306e\u3068\u3053\u308d\u3067\u30b7\u30fc\u30c8\u540d\u3092\u5909\u3048\u308c\u3070\u3001<br \/>\n\u3000\u3000\u3000\u3042\u3068\u306f\u4f55\u3082\u5909\u3048\u308b\u5fc5\u8981\u304c\u306a\u3044\u3002<br \/>\n\u3000\u3000\u3000\u300c\u3069\u3053\u3092\u66f8\u304d\u63db\u3048\u308c\u3070\u3044\u3044\u304b\u3092\u63a2\u3059\u300d\u3001\u3060\u3051\u3067\u3082\u30e9\u30af\u3061\u3093\u3002\u901f\u304f\u6e08\u3080\u3002<br \/>\n\u3000\u3000\u3000\u3055\u3089\u306b\u306f\u30d6\u30c3\u30af\u3092\u5909\u66f4\u3057\u305f\u3068\u304d\u3082\u540c\u69d8\u3002\uff1d\u8907\u6570\u306e\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u9593\u306e\u64cd\u4f5c\u3067<br \/>\n\u3000\u3000\u3000\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u304f\u306a\u308b\u3002\u4fee\u6b63\u7b87\u6240\u3092\u63a2\u3057\u3084\u3059\u304f\u5909\u66f4\u3082\u3057\u3084\u3059\u3044\u3002<br \/>\n\u3000\u3000\u3000<font style=\"border-bottom:3px double #ff0000;\">Set\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u968e\u5c64\uff08\u30d6\u30c3\u30af\uff09\u306e\u7701\u7565\u3082\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3088\u308a\u305d\u3046\u306a\u308b\u3002<\/font><\/p>\n<p>(b)\u81ea\u4f5c\u95a2\u6570\u5316\u3082\u3001\u3042\u3063\u3068\u3044\u3046\u9593\u306b\u3067\u304d\u308b\u3002<br \/>\n\u3000\u3000\u3000Set\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u968e\u5c64\uff08\u30d6\u30c3\u30af\uff09\u306e\u7701\u7565\u3082\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3088\u308a\u305d\u3046\u306a\u308b\u3002<br \/>\n\u3000\u3000\u3000<font style=\"border-bottom:3px double #ff0000;\">\u306a\u3093\u3067\u3082\u300c\u7701\u7565\u3057\u306a\u3044\u300d\u307b\u3046\u304c\u300c\u81ea\u4f5c\u95a2\u6570\u5316\u300d\u304c\u30e9\u30af\u306b\u306a\u308b\u3002<\/font><br \/>\n\u3000\u3000\u3000\u300c\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u5316\u300d\u304c\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p><font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>\u305d\u3057\u3066\u3055\u3089\u306b\u91cd\u8981\u306a\u306e\u306f\u3001With\u3092\u300c\u5b89\u6613\u306b\u751f\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u307e\u307e\u300d\u4f7f\u3063\u3066\u3057\u307e\u3046\u3068\u3001(b)\u306e\u81ea\u4f5c\u95a2\u6570\u5316\u304c\u3057\u3065\u3089\u304f\u306a\u308b\u30fb\u305d\u308c\u3067\u60a9\u3080\u3053\u3068\u306b\u306a\u308b\u30fb\u30fb\u30fb\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/b><\/span><\/font><\/p>\n<p>\u305d\u3057\u3066\u305d\u3082\u305d\u3082\u3001(b)\u306e\u300c\u81ea\u4f5c\u95a2\u6570\u5316\u300d\u3068\u3044\u3046\u30e2\u30ce\u306f\u30fb\u30fb\u30fb\u3001<\/p>\n<p>\u300c\u305d\u308c\u3092\u899a\u3048\u306a\u3044\u3068\u3001VBA\u306e\u4e0a\u9054\u306f\u4e0b\u306e\u4e0b\u3069\u307e\u308a\u3067\u3001\u305d\u308c\u4ee5\u4e0a\u306f\u3001\uff11\uff10\uff10\uff05\u4e0a\u9054\u3057\u306a\u3044\u3002\u6559\u5ba4\u306b\u7fd2\u3044\u306b\u884c\u3063\u3066\u3044\u305f\u3068\u3057\u3066\u3082\u3001\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u306e\u4f5c\u308a\u65b9\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u6271\u3044\u304c\u308f\u304b\u3089\u306a\u3051\u308c\u3070\u3001VBA\u306e\u4e0a\u9054\u306a\u3093\u304b\uff11\uff10\uff10\uff05\u3042\u308a\u3048\u306a\u3044\u3002\u3042\u308b\u308f\u3051\u306a\u3044\u3002\u300d<\/p>\n<p>\u304b\u3064\u3001<\/p>\n<p>\u300cWith\u306a\u3093\u304b\u77e5\u3089\u306a\u304f\u3066\u3082\u3001\u305d\u3061\u3089\u304c\u3067\u304d\u308c\u3070\u3001\uff11\uff10\uff10\uff05\u3001\u201d \u4e0a\u9054\u304c\u65e9\u307e\u308b\u53ef\u80fd\u6027 \u201d \u304c\u4e0a\u304c\u308b\u3002\u300d<\/p>\n<p>\u30fb\u30fb\u30fb\u3068\u3044\u3046\u30e2\u30ce\u3067\u3059\u3002<\/p>\n<p>\u306f\u3063\u304d\u308a\u8a00\u3063\u3066\u3001\u300c\u8d85\u91cd\u8981\u300d\u3067\u3059\u3002<\/p>\n<p>\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u300d\u3088\u308a\u3082\u300cWith\u304b\u3089\u5148\u306b\u300d\u3001\u3057\u304b\u3082\u3001\u300c\u5b89\u6613\u306b\u751f\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u307e\u307e\u300d\u899a\u3048\u3066\u3057\u307e\u3046\u3068\u3001\u305d\u306e\u8d85\u91cd\u8981\u306a(b)\u306e\u300c\u81ea\u4f5c\u95a2\u6570\u5316\u300d\u3068\u3044\u3046\u30e2\u30ce\u3092\u300c\u521d\u5b66\u8005\u306e\u6700\u521d\u306e\u76ee\u6a19\u300d\u306b\u975e\u5e38\u306b\u3057\u306b\u304f\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n\uff08\u300c\u3053\u308c\u3067\u52d5\u304f\u304b\u3089\u3053\u308c\u3067\u3044\u3044\u3084\u300d\u3001\u3068\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3002\uff09<\/p>\n<p><font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #ff0000;\"><b>\u300cWith\u300d\u3092\u300c\u5b89\u6613\u306b\u751f\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u307e\u307e\u300d\u899a\u3048\u3066\u3057\u307e\u3046\u30fb\u4f7f\u3063\u3066\u3057\u307e\u3046\u3001\u4e00\u756a\u5927\u304d\u306a\u5f0a\u5bb3\u304c\u3001\u305d\u308c\u3067\u3059\u3002<\/b><\/spa><\/p>\n<p>\u306a\u304a\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3092\u300c\u3057\u3089\u306a\u3044\u3042\u3044\u3060\u306b\u300d\u300c\u521d\u5fc3\u8005\u306b\u81ea\u7136\u306b\u4f7f\u308f\u305b\u308b\u300d\u300c\u5c0e\u304f\u300d\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u3055\u307b\u3069\u96e3\u3057\u3044\u3053\u3068\u3067\u306a\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3060\u3063\u3066\u6700\u521d\u304b\u3089<br \/>\n\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u3069\u3093\u306a\u8a00\u8a9e\u3067\u3042\u3063\u3066\u3082\u3001\u5909\u6570\u3092\u64cd\u4f5c\u3057\u3066\u81ea\u52d5\u5316\u3092\u5b9f\u73fe\u3059\u308b\u4f5c\u696d\u3002\u300d<br \/>\n\u300c\u64cd\u4f5c\u306e\u5bfe\u8c61\u306f\u5909\u6570\u3002\u672c\u5f53\u306f\u305d\u308c\u306b\u683c\u7d0d\u3057\u305f\u751f\u30c7\u30fc\u30bf\u3060\u3051\u3069\u3001\u3068\u308a\u3042\u3048\u305a\u5909\u6570\u3002\u300d<br \/>\n\u300c\u305d\u3057\u3066VBA\u3067\u306f\u3001\u5909\u6570\u306b\u306f\u5927\u304d\u304f\u306f\u3001\u4e00\u822c\u5909\u6570\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e2\u7a2e\u985e\u3057\u304b\u306a\u3044\u3002\u300d<br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u3068\u3063\u3066\u306e\u751f\u30c7\u30fc\u30bf\u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u3002\u300d<br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u3068\u304d\u306fSet\u3092\u4f7f\u3046\u3060\u3051\u3002\u300d<br \/>\n\u300c\u305d\u308c\u3092\u968e\u5c64\u69cb\u9020\u3092\u7701\u7565\u305b\u305a\u306b\u66f8\u304f\u3060\u3051\u300d<br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306b\u77ed\u3044\u540d\u524d\u304c\u3064\u3044\u3066\u3001\u898b\u3084\u3059\u304f\u306a\u308b\u3068\u8003\u3048\u308b\u3060\u3051\u3067\u3082\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u300d<br \/>\n\u306a\u3069\u3068\u300c\u6700\u521d\u304b\u3089\u300d\u6559\u3048\u308b\u3060\u3051\u3067\u3059\u306e\u3067\u3002<br \/>\n\u6df1\u3044\u3053\u3068\u306f\u3001\u305d\u308c\u3092\u3057\u306a\u304c\u3089\u3001\u305d\u306e\u30eb\u30fc\u30eb\u3092\u6559\u3048\u306a\u304c\u3089\u3001\u5f90\u3005\u306b\u6df1\u304f\u6559\u3048\u3066\u3044\u3051\u3070\u3044\u3044\u306e\u3067\u3059\u3002<\/p>\n<p>\u968e\u5c64\u69cb\u9020\u3082\u826f\u304f\u4f7f\u3046\u90e8\u5206\u3060\u3051\u3001\u300c\u305d\u3046\u3044\u3046\u3082\u3093\u306a\u3093\u3060\u300d\u3068\u3001\u6700\u521d\u304b\u3089\u300c\u7701\u7565\u305b\u305a\u306b\u300d\u6559\u3048\u308b\u3060\u3051\u3067\u3082\u3001\u5927\u62b5\u306e\u4eba\u306f\u300c\u305d\u3046\u3044\u3046\u3082\u3093\u306a\u3093\u3060\u300d\u3068\u610f\u5473\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u304f\u3066\u3082\u305d\u3046\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\u300c\u6df1\u3044\u3053\u3068\u300d\u306f\u3001\u305d\u308c\u3092\u3057\u306a\u304c\u3089\u3001\u305d\u306e\u30eb\u30fc\u30eb\u3092\u6559\u3048\u306a\u304c\u3089\u3001\u5f90\u3005\u306b\u6df1\u304f\u6559\u3048\u3066\u3044\u3051\u3070\u3044\u3044\u306e\u3067\u3059\u3002<br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>\u300c\u5f62\u3060\u3051\u300d\u3067\u3082\u3001\u307e\u305a\u306f\u6574\u3048\u3066\u3042\u3052\u3066\u3002<br \/>\n\u305d\u306e\u3042\u3068\u306b\u3001\u5c11\u3057\u305a\u3064\u3001\u300c\u306a\u305c\u305d\u3046\u3044\u3046\u5f62\u306b\u3059\u308b\u306e\u304b\uff1f\u300d\u3092\u304a\u6559\u3048\u3059\u308c\u3070\u3044\u3044\u3060\u3051\u3067\u3059\u3002<\/b><\/span><\/font><\/p>\n<p>\u3067\u306f\u3001\u6b21\u306b\u3001\u300c\u5b89\u6613\u306b\u751f\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u306e\u307e\u307e\u300dWith\u3092\u4f7f\u308f\u305a\u3001\u3044\u3063\u305f\u3093\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u3092\u4f7f\u3063\u3066\u304b\u3089With\u3092\u4f7f\u3046\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">\r\n'\r\n'\r\nSub test03()\r\n\r\n    Dim WS_Src  As Worksheet  '\u300cSrc\u300d\uff1d\u300c\u30bd\u30fc\u30b9\u300d\uff1d\u60c5\u5831\u6e90\u3001\u306e\u7565\r\n    Dim WS_Trg  As Worksheet  '\u300cTrg\u300d\uff1d\u300c\u30bf\u30fc\u30b2\u30c3\u30c8\u300d\u306e\u7565\r\n\r\n    Set WS_Src = ActiveWorkbook.Worksheets(\"Sheet2\") '\u30c7\u30fc\u30bf\u306e\u8ee2\u8a18\u5143\uff1d\u60c5\u5831\u6e90\u3068\u306a\u308b\u30b7\u30fc\u30c8\u306e\u8a2d\u5b9a\r\n    Set WS_Trg = ActiveWorkbook.Worksheets(\"Sheet1\") '\u30c7\u30fc\u30bf\u306e\u8ee2\u8a18\u5148\u3068\u306a\u308b\u30b7\u30fc\u30c8\u306e\u8a2d\u5b9a\r\n    \r\n    WS_Trg.Cells.ClearContents\r\n    WS_Trg.Activate\r\n    \r\n    With WS_Src\r\n        WS_Trg.Range(\"B2\") = .Range(\"B2\")\r\n        WS_Trg.Range(\"B3\") = .Range(\"B3\")\r\n        WS_Trg.Range(\"B4\") = .Range(\"B4\")\r\n        WS_Trg.Range(\"D2:E5\").Value = .Range(\"D2:E5\").Value '\u7bc4\u56f2\u306e\u8ee2\u8a18\u306f\u300cValue\u300d\u306e\u7701\u7565\u4e0d\u53ef\uff1f\u3002\r\n    End With\r\n\r\n\r\nEnd Sub\r\n'\r\n'\r\n<\/pre>\n<p>\u524d\u9805\u306e\u300ctest02\u300d\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3088\u308a\u3082\u5c11\u3057\u898b\u3084\u3059\u304f\u306f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>With\u306e\u3068\u306a\u308a\u306b\u9577\u3063\u305f\u3089\u3057\u3044\u8a18\u8ff0\u304c\u306a\u3044\u307b\u3046\u304c\u78ba\u304b\u306b\u3059\u3063\u304d\u308a\u3059\u308b\u3068\u3044\u3048\u3042\u3070\u3059\u3063\u304d\u308a\u3059\u308b\u304b\u3082\u30fb\u30fb\u30fb\u3067\u3059\u3002<br \/>\n\uff08\u50d5\u306f\u305d\u3046\u306f\u601d\u3044\u307e\u305b\u3093\u3051\u3069\u30fb\u30fb\u30fb\u3002\u30c9\u30c3\u30c8\u306e\u5de6\u5074\u306b\u4f55\u3082\u306a\u3044\u306e\u306f\u8aad\u307f\u3065\u3089\u3044\u3067\u3059\u3002With\u4f7f\u3046\u3068\u8aad\u307f\u306b\u304f\u304f\u306a\u308b\u306e\u3067\u3001\u9577\u3063\u305f\u3089\u3057\u304f\u3066\u3082\u8868\u306e\u3088\u3046\u306b\u76ee\u306b\u6620\u308b\u307b\u3046\u304c\u30e9\u30af\u3067\u3059\u3002\uff09<\/p>\n<p>\u3044\u305a\u308c\u306b\u3057\u307e\u3057\u3066\u3082\u3001With\u3092\u4f7f\u3063\u305f\u5834\u5408\u3001\u300cWith\u306e\u3068\u306a\u308a\u306b\u9577\u3063\u305f\u3089\u3057\u3044\u8a18\u8ff0\u304c\u306a\u3044\u300d\u3068\u3044\u3046\u306e\u306f\u3001\u300cMicrosoft Query\u3084\u30d4\u30dc\u30c3\u30c8\u306eVBA\u3067\u306e\u81ea\u52d5\u5316\u306b\u3068\u3063\u3066\u306f\u3059\u3054\u304f\u30e9\u30af\u306b\u306a\u308b\u8003\u3048\u65b9\u300d\u3067\u3059\u3002<\/p>\n<p>\u3067\u3001\u300cMicrosoftQuery\u3084\u30d4\u30dc\u30c3\u30c8\u306eVBA\u3067\u306e\u81ea\u52d5\u5316\u300d\u304c\u3067\u304d\u308b\u3068\u3001\u3067\u304d\u306a\u3044\u5834\u5408\u3088\u308a\u3082\u30012\u500d\uff5e100\u500d\u306e\u3001\u6642\u9593\u3068\u304a\u91d1\u3092\u7bc0\u7d04\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u8a71\u304c\u9038\u308c\u3066\u3059\u307f\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305f\u300cWS_Trg\u300d\u3092\u8ffd\u8a18\u3059\u308b\u3053\u3068\u3067\u3001\u300c\u3069\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u8ee2\u8a18\u3057\u3066\u3044\u308b\u304b\u300d\u3082\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3042\u308c\u3070\u30fb\u30fb\u30fb\u30fb\u3001<br \/>\n\u300c\u3069\u3046\u3057\u3066\u3082\u3001\u7121\u610f\u5473\u3067\u3082With\u304c\u4f7f\u3044\u305f\u3044\u300d<br \/>\n\u300c\u81ea\u4f5c\u95a2\u6570\u5316\u306a\u3093\u3066\u3057\u3084\u3059\u304f\u306a\u304f\u3066\u3082\u3044\u3044\uff01\u81ea\u4f5c\u95a2\u6570\u5316\u306a\u3093\u3066\u305d\u3093\u306a\u3053\u3068\u3069\u30fc\u3067\u3082\u3044\u3044\uff01\uff01\u3069\u3093\u3060\u3051\u7121\u99c4\u306a\u30b3\u30fc\u30c9\u3092\u4f55\u56de\u66f8\u3044\u3066\u3082\u304b\u307e\u308f\u306a\u3044\uff01\uff01\u30aa\u30ec\u306fWith\u304c\u5927\u597d\u304d\u306a\u3093\u3060\uff01With\u304c\u30b3\u30fc\u30c9\u306e\u4e2d\u306b\u7121\u3044\u3068\u6b7b\u3093\u3058\u3083\u3046\u3093\u3060\uff01\u300d<br \/>\n\u30fb\u30fb\u30fb\u30fb\u3068\u3044\u3046\u304b\u305f\u3082\u7d0d\u5f97\u3055\u305b\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u3042\u3001\u50d5\u306e\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u304c\u3044\u3044\u3082\u306e\u306a\u308f\u3051\u3082\u306a\u3044\u3093\u3067\u3059\u304c\uff08\u307e\u3060\u3001If\u6587\u3068For\u6587\u3057\u304b\u77e5\u3089\u306a\u3044\u3057SELECT\u3082\u3042\u3093\u307e\u308a\u5206\u304b\u3089\u306a\u3044\uff09\u3001\u3067\u3082\u3001<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #ff0000;\"><b>\u300cWith\u7121\u610f\u5473\u5927\u597d\u304d\u4eba\u9593\u3068\u3064\u304d\u3042\u3063\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u5b66\u7fd2\u3092\u30b5\u30dc\u3063\u3066\u3044\u308b\u3068\u3001VBA\u7684\u306b\u306f\u30d0\u30ab\u306b\u3055\u305b\u3089\u308c\u3066\u3057\u307e\u3046\u300d\u3053\u3068\u3082\u4e8b\u5b9f<\/b><\/span><\/font>\u3067\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_422\">\u25bc (14)\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u3064\u3044\u3066\u306f\u3001\u968e\u5c64\u69cb\u9020\u306e\u7701\u7565\u3092\u3057\u3066\u3044\u308b\u3068\u3001\u306a\u304b\u306a\u304b\u4e0a\u9054\u3057\u306a\u3044\u3002<\/a><br \/>\n\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\u300d\u3064\u3044\u3066\u306f\u3001\u968e\u5c64\u69cb\u9020\u306e\u7701\u7565\u3092\u3057\u3066\u3044\u308b\u3068\u3001\u57fa\u672c\u30fb\u307e\u3063\u305f\u304f\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002<br \/>\n\uff08\u7279\u306b\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u3002\uff09<br \/>\n\u57fa\u672c\u3001\u300c\u968e\u5c64\u69cb\u9020\u300d\u306e\u5168\u4f53\u50cf\u3084\u826f\u304f\u3064\u304b\u3046\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u7279\u306b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff09\u304c\u3069\u306e\u4f4d\u7f6e\u306b\u5c45\u308b\u304b\u306a\u3069\u3082\u7406\u89e3\u3057\u306a\u3044\u3068\u3001ExcelVBA\u306f\u307e\u3063\u305f\u304f\u4e0a\u9054\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u3067\u3001\u305d\u306e\u3053\u3068\u3092\u8aac\u660e\u3057\u306a\u3044\u8b1b\u5e2b\u304c\u591a\u3059\u304e\u307e\u3059\u3002<\/p>\n<p>\u300c\u4e00\u5fdcVBA\u3092\u6271\u3048\u308b\u3051\u3069\u3001\u9577\u671f\u9593\u30fb\u521d\u7d1a\u306e\u4e0a\u3092\u8131\u51fa\u3067\u304d\u306a\u3044\u30fb\u30fb\u30fb\u300d\u3068\u304b\u3002<br \/>\n\u7279\u306b\u30b0\u30e9\u30d5\u3092\u6271\u3063\u305f\u308a\u3001\u30b7\u30e5\u30df\u30ec\u30fc\u30b7\u30e7\u30f3\u3084\u30b7\u30b9\u30c6\u30e0\u69cb\u7bc9\u306a\u3069\u3092\u3057\u305f\u3044\u3068\u304d\u306b\u4e0a\u9054\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u30bb\u30eb\u3068\u30b7\u30fc\u30c8\u3001\u30d5\u30a3\u30eb\u30bf\u3042\u305f\u308a\u3092\u307b\u3093\u306e\u5c11\u3057\u52d5\u304b\u3059\u3068\u304b\u3001\u591a\u5c11\u306e\u8ee2\u8a18\u7a0b\u5ea6\u306a\u3089\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u304c\u30fb\u30fb\u30fb\u3002<br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>\u3067\u3082\u3001\u300c\u305d\u3093\u306a\u30ec\u30d9\u30eb\u3067\u3044\u3044\u306e\u306a\u3089\u30de\u30af\u30ed\u306e\u8a18\u9332\u3067\u826f\u3044\u306e\u3067\u306f\uff1f\u300d<\/b><\/span><\/font>\u3068\u8a00\u308f\u308c\u308b\u3053\u3068\u3082\u7121\u304d\u306b\u3057\u3082\u3042\u3089\u305a\u30fb\u30fb\u30fb\u3067\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_430\">\u25bc (15)\u672c\u5f53\u306b\u300c\u5909\u6570\u306a\u3093\u304b\u5168\u90e8Variant\u578b\u3067\u3044\u3044\u300d\u3068\u601d\u3046\u306a\u3089\u3084\u3063\u3066\u307f\u308c\u3070\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u6c38\u9060\u306b\u4e0a\u9054\u3057\u307e\u305b\u3093\u3002\u306a\u305c\u306a\u3089\u81ea\u4f5c\u95a2\u6570\u304c\u4f5c\u308c\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/a><br \/>\n\u6700\u8fd1\u3001\u300c\u5909\u6570\u306a\u3093\u304b\u5168\u90e8Variant\u578b\u3067\u3044\u3044\u300d\u3068\u3059\u308b\u66f8\u7c4d\u3084\u30b5\u30a4\u30c8\uff08\u8cea\u306e\u60aa\u3044\u8b1b\u5e2b\u30fb\u5e02\u8ca9\u66f8\u7c4d\u306e\u8457\u8005\u3084\u30e9\u30a4\u30bf\u30fc\u3001\u7de8\u96c6\u8005\uff09\u304c\u3059\u3054\u304f\u5897\u3048\u3066\u3044\u307e\u3059\u304c\u3001\u30cf\u30de\u308a\u307e\u3059\u3002<br \/>\n\u7406\u7531\u306f\u3001\u305d\u308c\u3060\u3068\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u304c\u3061\u3083\u3093\u3068\u4f5c\u308c\u306a\u3044\u304b\u3089\u3067\u3059\u3002<br \/>\n\u300c\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u300d\u305f\u3061\u304c\u3061\u3083\u3093\u3068\u4f5c\u308c\u306a\u3051\u308c\u3070\u3001\u524d\u8ff0\u3057\u305f\u3088\u3046\u306bVBA\u306e\u4e0a\u9054\u306f\u300c100\uff05\u300d\u300c\u3042\u308a\u3048\u307e\u305b\u3093\u300d\u3002<br \/>\n\u521d\u7d1a\u306e\u300c\u4e0b\u300d\u306e\u30ec\u30d9\u30eb\u306e\u307e\u307e\u3067\u3059\u3002<br \/>\n\u305f\u3060\u3001\u521d\u7d1a\u306e\u300c\u4e0b\u300d\u306e\u30ec\u30d9\u30eb\u306e\u307e\u307e\u306a\u3053\u3068\u304c\u8a31\u3055\u308c\u308b\u8077\u5834\u3067\u3001\u300c\u30a8\u30e9\u30fc\u89e3\u6c7a\u8981\u54e1\u300d\u304c\u5225\u306b\u3044\u3066\u3001\u81ea\u5206\u304c\u30a8\u30e9\u30fc\u89e3\u6c7a\u3057\u306a\u304f\u3066\u3082\u3044\u3044\u306a\u3089\u305c\u3093\u305c\u3093\u305d\u308c\u3067\u3082\u3044\u3044\u306e\u3067\u3059\u3051\u3069\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u305f\u3060\u3001\u305d\u308c\u3067\u4ed6\u4eba\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30b3\u30fc\u30c9\u306f\u89e6\u3063\u3066\u306f\u3044\u3051\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u666e\u901a\u306e\u4eba\u306e\u30b3\u30fc\u30c9\u306f\u3001\u300c\u5168\u90e8Variant\u578b\u306a\u3093\u3066\u3053\u3068\u306f\u300d\u300c\u3042\u308a\u3048\u307e\u305b\u3093\u300d\u306e\u3067\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_441\">\u25bc (16)\u300c\u8907\u96d1\u306a\u6761\u4ef6\u3067\u306e\u5b9a\u578b\u7684\u306a\u96c6\u8a08\u3084\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u300d\u306b\u9650\u3063\u3066\u306f\u3001\u300cSQL\u300d\u3092\u4f7f\u308f\u306a\u3044\u3068\u300c\u8cea\u304c\u4f4e\u3044\u300d\u307e\u307e\u30fb\u300c\u8d85\u975e\u52b9\u7387\u300d\u306e\u307e\u307e\u3002\uff08\u7279\u306b\u4ed6\u306e\u4eba\u306b\u3082\u4f7f\u3063\u3066\u3082\u3089\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5834\u5408\uff09<\/a><br \/>\n\u300c\u8907\u96d1\u306a\u6761\u4ef6\u3067\u306e\u5b9a\u578b\u7684\u306a\u96c6\u8a08\u3084\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u300d\u306b\u9650\u3063\u3066\u306f\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u3067\u304d\u308b\u9650\u308a\u4f7f\u308f\u305a\u306b\u3001\u4ee3\u308f\u308a\u306b<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u3092\u4f7f\u3046\u307b\u3046\u304c\u3044\u3044\u3067\u3059\u3002<br \/>\n\u9006\u306b\u3001<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u3092\u77e5\u3089\u306a\u3044\u3068\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u4e2d\u5fc3\u306b\u300c\u7121\u99c4\u306a\u30b3\u30fc\u30c9\u300d\u3092\u300c\u6b7b\u306c\u307b\u3069\u66f8\u304f\u7fbd\u76ee\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u52d5\u4f5c\u901f\u5ea6\u304c\u300c\u30e1\u30c1\u30e3\u9045\u304f\u306a\u308b\u300d\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3082\u30fb\u30fb\u30fb\u3002<br \/>\n\u7279\u306b\u3001\u8907\u6570\u306e\u793e\u54e1\u304c\u5171\u540c\u3067\u4f7f\u3046\u30b7\u30b9\u30c6\u30e0\u3081\u3044\u305f\u3082\u306e\u3084\u3001\u3042\u308b\u3044\u306f\u3001\u300c\u96c6\u8a08\u30c4\u30fc\u30eb\u7684\u306a\u30e2\u30ce\u300d\u3092\u3064\u304f\u308a\u305f\u3044\u3068\u304d\u306f\u3001\u30a2\u30db\u307f\u305f\u3044\u306b\u7121\u99c4\u306a\u30b3\u30fc\u30c9\u304c\u5897\u3048\u307e\u3059\u3002\uff08\u3068\u3044\u3046\u304b\u3001\u591a\u5206\u3067\u3059\u304c\u3001\u57fa\u672c\u3001\u305d\u3082\u305d\u3082Excel\u3067\u540c\u6642\u30a2\u30af\u30bb\u30b9\u306e\u3067\u304d\u308b\u30b7\u30b9\u30c6\u30e0\u306a\u3093\u3066\u4f5c\u308a\u307e\u305b\u3093\u3051\u3069\u3002\u305f\u3060\u3001\u96c6\u8a08\u30c4\u30fc\u30eb\u306f\u3001\u4f5c\u308a\u307e\u3059\u3088\u306d\uff1f\uff09<br \/>\n<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u306f\u3001Microsoft Query\u3001QueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3001PivotChache\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u3060\u3063\u305f\u304b\u3057\u3089\uff1f\uff09\u3001ADO\u30fbDAO\u3001\u306a\u3069\u3067\u4f7f\u3048\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001Microsoft Query\u3084\u30d4\u30dc\u30c3\u30c8\u30c6\u30fc\u30d6\u30eb\u306eVBA\u3067\u306e\u81ea\u52d5\u64cd\u4f5c\u3092\u77e5\u3089\u306a\u3044\u3068\u3001\u305d\u306e\u5834\u5408\u3082\u540c\u4e0a\u3067\u3059\u3002<br \/>\nExcel\u3067\u6570\u5b57\u306e\u96c6\u8a08\u3068\u304b\u3057\u306a\u3044\u306a\u3089\uff08\u30b2\u30fc\u30e0\u3068\u304b\u4f5c\u308b\u306a\u3089\uff09\u8981\u3089\u306a\u3044\u3067\u3059\u3051\u3069\u3002<\/p>\n<p><a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u3092\u4f7f\u3046\u3068\u3001\u300c<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u81ea\u4f53\u304c\u3001\u3082\u3068\u3082\u3068\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u8907\u96d1\u306a\u96c6\u8a08\u3084\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u304c\u3067\u304d\u308b\u4ed5\u7d44\u307f\u300d\u306a\u306e\u3067\u3001\u300c\u7121\u99c4\u306a\u30eb\u30fc\u30d7\u51e6\u7406\u304c\u6e1b\u3089\u305b\u307e\u3059\u300d\u3057\u3001\u305d\u306e\u307b\u304b\u3001\u300c\u6570\u5f0f\u304c\u30bb\u30eb\u306b\u57cb\u3081\u8fbc\u307e\u308c\u306a\u3044\uff1d\u7d50\u679c\u3060\u3051\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u30c7\u30fc\u30bf\u91cf\u304c\u6b7b\u306c\u307b\u3069\u591a\u3044\u6642\u3067\u3082\u591a\u5206\u9ad8\u901f\u306b\u52d5\u304f\u300d\u306a\u3069\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\nExcelVBA\u3068\u306e\u76f8\u6027\u3082\u60aa\u304f\u306a\u3044\u305f\u3081\u3001Excel\u306e2010\u4ee5\u964d\uff1f\u306e\u300c\u30d1\u30ef\u30fc\u30d4\u30dc\u30c3\u30c8\u300d\u300c\u30d1\u30ef\u30fc\u30af\u30a8\u30ea\u300d\u306a\u3069\u3088\u308a\u3082\u30e9\u30af\u3061\u3093\u306a\u5834\u5408\u3082\u5c11\u306a\u304f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\uff08\u3082\u3061\u308d\u3093\u3001\u30e1\u30ea\u30c3\u30c8\u3070\u304b\u308a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3067\u3082\u30e1\u30ea\u30c3\u30c8\u3082\u76f8\u5f53\u3042\u308a\u307e\u3059\u3002\u306a\u306e\u306b\u3001\u307b\u3068\u3093\u3069\u306eExcel\u8b1b\u5e2b\uff08VBA\u3060\u3051\u3067\u306a\u304f\u4e00\u822c\u64cd\u4f5c\u306e\u8b1b\u5e2b\u3082\uff09\u306f\u3001<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u306e\u3053\u3068\u3092\u7d76\u5bfe\u306b\u6559\u3048\u3066\u304f\u308c\u307e\u305b\u3093\u3002\u5927\u5909\u6b8b\u5ff5\u306a\u304c\u3089\u3001<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u306e\u3053\u3068\u3092\u77e5\u3089\u306a\u3044\u8b1b\u5e2b\u3055\u3093\u3059\u3089\u5c45\u307e\u3059\u3002<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u306f\u9ad8\u6821\u306e\u5546\u696d\u79d1\u3067\u3082\u7fd2\u3046\u3053\u3068\u304c\u3042\u308b\u300c\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u57fa\u790e\u300d\u306a\u306e\u306b\u3001\u5927\u4eba\u306b\u306a\u308b\u3068\u8ab0\u3082\u6559\u3048\u3066\u304f\u308c\u307e\u305b\u3093\u3002\u304a\u304b\u3057\u306a\u8a71\u3067\u3059\u3002\uff09<\/p>\n<p><a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u3092\u4f7f\u3046\u306b\u306f\u3001\u300cMicrosoftQuery\u3001QueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3001\u30d4\u30dc\u30c3\u30c8\u306eVBA\u64cd\u4f5c\u3001\u540d\u524d\u306e\u5b9a\u7fa9\u3001ADO\uff0fDAO\u300d\u306a\u3069\u3082\u30bb\u30c3\u30c8\u3067\u4f7f\u3046\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u3092\u77e5\u3063\u3066\u3044\u308b\u3068\u3001\u300e\u300c\u30b7\u30b9\u30c6\u30e0\u3084\u6a5f\u80fd\u3092\u8a2d\u8a08\u3059\u308b\u300d\u3053\u3068\u3082\u65e9\u304f\u306a\u308b \u300f\u3001\u3068\u304b\u300e Access\u3084\u4ed6\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30bd\u30d5\u30c8\u306b\u591a\u5c11\u306a\u308a\u3068\u3082\u3001\u65e9\u304f\u6163\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u308b \u300f\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_458\">\u25bc (17)Excel\u306e\u300c\u30e6\u30fc\u30b6\u30fc\u30d5\u30a9\u30fc\u30e0\u300d\u306f\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3059\u304e\u3066\u975e\u52b9\u7387\u3067\u3059\u3002<\/a><br \/>\nExcel\u306e\u300c\u30e6\u30fc\u30b6\u30fc\u30d5\u30a9\u30fc\u30e0\u300d\u306f\u7121\u99c4\u306a\u30b3\u30fc\u30c9\u304c\u5897\u3048\u307e\u3059\u3057\u3001\u30b5\u30d6\u30d5\u30a9\u30fc\u30e0\u3082\u4f7f\u3048\u307e\u305b\u3093\u3002<br \/>\nAccess\u306e\u3088\u3046\u306b\u9023\u7d50\u30d5\u30a9\u30fc\u30e0\u3082\u4f5c\u308c\u307e\u305b\u3093\u3002<br \/>\n\u540c\u6642\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30d5\u30a9\u30fc\u30e0\u3082\u4f5c\u308a\u306b\u304f\u3044\u3067\u3059\u3002<br \/>\n\u30af\u30a8\u30ea\u3092\u30d5\u30a9\u30fc\u30e0\u306e\u300c\u66f8\u304d\u63db\u3048\u53ef\u80fd\u306a\u30bd\u30fc\u30b9\u300d\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u30d5\u30a9\u30fc\u30e0\u30d3\u30e5\u30fc\u306e\u307e\u307e\u30d5\u30a3\u30eb\u30bf\u3092\u304b\u3051\u3089\u308c\u308b\u6a5f\u80fd\u3082\u975e\u5e38\u306b\u4f5c\u308a\u3065\u3089\u3044\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3060\u3051\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3044\u3068\u3001\u57fa\u672c\u3001\u30b7\u30fc\u30c8\u3092\u30d5\u30a9\u30fc\u30e0\u66ff\u308f\u308a\u306b\u3057\u305f\u65b9\u304c\u3044\u3044\u3088\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\uff08\u4e26\u3079\u66ff\u3048\u3082\u30d5\u30a3\u30eb\u30bf\u3082\u4f7f\u3048\u307e\u3059\u306e\u3067\uff09\u3002\u540d\u524d\u5b9a\u7fa9\u3057\u305f\u30bb\u30eb\u3084\u30bb\u30eb\u7bc4\u56f2\u3082\u4f75\u7528\u3057\u3066\u3002<\/p>\n<p>\u3068\u3044\u3046\u304b\u3001\u305d\u3061\u3089\u306e\u307b\u3046\u304c\u6271\u3044\u3084\u3059\u3044\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3042\u308b\u3044\u306f\u3001Access\u306e\u30d5\u30a9\u30fc\u30e0\u3092\u4f7f\u3063\u3066Excel\u3068\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u9023\u643a\u3059\u308b\u307b\u3046\u304c<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct071701_mini_system_make\/excel-access-diff01#lbl_100\" target=\"_blank\" rel=\"noopener noreferrer\">50\u500d\u306f\u30b3\u30b9\u30d1\u304c\u3044\u3044\u6c17\u304c\u3057\u307e\u3059\u3002\uff08\u3042\u304f\u307e\u3067\u4e8b\u52d9\u7cfb\u306e\u5b9a\u578b\u7684\u306a\u30d5\u30a9\u30fc\u30e0\u304c\u4e2d\u5fc3\u3067\u3059\u304c\uff09<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_465\">\u25bc (18)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fb\uff17\u3064<\/a><br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u300cSet\u300d\u3068\u3044\u3046\u547d\u4ee4\u3092\u4f7f\u3063\u3066\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\uff1d\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f0f\uff09\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u306e\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7ba1\u7406\u3057\u3084\u3059\u3044\u3067\u3059\u304c\u3001\u4ee3\u5165\u3059\u308b\u524d\u306b\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u53d6\u5f97\u300d\u3068\u3044\u3046\u64cd\u4f5c\u3092\u3057\u307e\u3059\u3002<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u53d6\u5f97\u3068\u306f\u3001\u64cd\u4f5c\u3057\u305f\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u300c\uff11\u3064\u9078\u629e\u3059\u308b\u30fb\u6c7a\u3081\u308b\u300d\u3001\u3068\u3044\u3046\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\uff08\uff1d\uff11\u3064\u9078\u629e\u3059\u308b\uff09\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4e00\u756a\u591a\u3044\u306e\u306f\u3001(a)\u3068(b)\u3067\u3059\u3002<\/p>\n<p>(a)\u53d6\u5f97\u3057\u305f\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e0a\u4f4d\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3001\u5404\u7a2e\u306e\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3092\u4f7f\u3046\u3002<br \/>\n\u57fa\u672c\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u3001\u300e \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6027\u8cea\u3092\u6c7a\u3081\u308b\u5404\u7a2e\u8a2d\u5b9a\u306e\u8a2d\u5b9a\u5024\u3092\u8aad\u3093\u3060\u308a\u66f8\u304d\u63db\u3048\u305f\u308a\u3059\u308b\u3082\u306e \u300f\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001\u305d\u308c\u3068\u306f\u5225\u306b\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3060\u3051\u306b\u7279\u5316\u3057\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3082\u7d50\u69cb\u305f\u304f\u3055\u3093\u5b58\u5728\u3057\u307e\u3059\u3002<br \/>\n\u305d\u308c\u306b\u306f\u3001\u300c\u4e0b\u4f4d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3082\u306e\u300d\u3084\u3001\u300c\u4e0a\u4f4d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3082\u306e\u300d\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4e0a\u4f4d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30e2\u30ce\u306f\u3001\u300cParent\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3067\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u304b\u3082\uff1f<br \/>\n\u306a\u304a\u3001Worksheet.Application \u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u304b\u3001QueryTable.ListObject \u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u3082\uff1f\uff09 \u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3001\u305d\u306e\u3088\u3046\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3082\u4e0a\u4f4d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<br \/>\nParent\u306f\u3001\u300c1\u968e\u5c64\u4e0a\uff1d\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3057\u304b\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u304c\u3001Application \u30d7\u30ed\u30d1\u30c6\u30a3\u306a\u3069\u306f\u3001\u6570\u6bb5\u968e\u5c64\u3092\u3059\u3063\u3068\u3070\u3057\u3066\u3001\u6700\u4e0a\u968e\u5c64\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>(b)\u540c\u4e0a\u306e\u3001\u5404\u7a2e\u306e\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3092\u4f7f\u3046\u3002<br \/>\n\u3053\u308c\u3082\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u540c\u69d8\u306b\u3001\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u306f\u3001\u300e \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u3042\u3089\u304b\u3058\u3081\u5099\u3048\u4ed8\u3051\u3089\u308c\u305f\u300c\u52d5\u4f5c\uff08\u3042\u308b\u3044\u306f\u52d5\u4f5c\u3092\u958b\u59cb\u3059\u308b\u3082\u306e\uff09\u300d\u300f\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001\u305d\u308c\u3068\u306f\u5225\u306b\u3001\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3060\u3051\u306b\u7279\u5316\u3057\u305f\u30e1\u30bd\u30c3\u30c9\u300d\u3082\u610f\u5916\u3068\u5b58\u5728\u3057\u307e\u3059\u3002<br \/>\nWorksheet.PivotTables \u30e1\u30bd\u30c3\u30c9\u3068\u304b\u3002<\/p>\n<p>(c)\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u300cItem\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304b\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3002<br \/>\n\u203b\u3053\u308c\u306f\u300c\u7701\u7565\u53ef\u300d\u3067\u3001\u9006\u306b\u66f8\u304b\u308c\u308b\u307b\u3046\u304c\u3081\u305a\u3089\u3057\u3044\u306e\u3067\u3059\u304c\u3001\u77e5\u3063\u3068\u304b\u306a\u3044\u3068\u4e0a\u9054\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>(d)Excel\u5c02\u5c5e\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u306f\u306a\u304f\u3001Office\u5171\u901a\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\uff1f\u3084\u30d7\u30ed\u30d1\u30c6\u30a3\uff1f\u3092\u4f7f\u3046\u3002<\/p>\n<p>(e)\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u305d\u306e\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3002\uff08Add\u3084Open\u306a\u3069\uff09<br \/>\n\u203b\u591a\u304f\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u4fdd\u6301\u30fb\u5185\u5305\u3059\u308b\u300cAdd\u300d\u3084\u300cOpen\u300d\u306a\u3069\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u300c\u4f55\u304b\u3092\u65b0\u898f\u4f5c\u6210\u3057\u305f\u308a\u958b\u3044\u305f\u308a\u3057\u306a\u304c\u3089\u3001\u3067\u3082\u305d\u308c\u3068\u540c\u6642\u306b\u300d\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6295\u3052\u8fd4\u3057\u3066\u3082\u304f\u308c\u307e\u3059\u3002\u306a\u306e\u3067\u30e6\u30fc\u30b6\u30fc\u304c\u5074\u306f\u305d\u308c\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3001\u300c\u4f55\u3089\u304b\u306e\u52d5\u304d\u3092\u3057\u306a\u304c\u3089\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u81ea\u4f5c\u95a2\u6570\u300d\u3068\u52d5\u304d\u304c\u4f3c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>(f)\u95a2\u6570\u3092\u4f7f\u3046\uff08CreateObject\u95a2\u6570\u3084GetObject\u95a2\u6570\uff09\u306a\u3069<br \/>\nWord\u3084Access\u306a\u3069\u304b\u3089Excel\u3092\u64cd\u4f5c\u3057\u305f\u308a\u3001\u305d\u306e\u9006\u3092\u3057\u305f\u3044\u3068\u304d\u3001\u306a\u3069\u306b\u3088\u304f\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>(g)\u30a4\u30d9\u30f3\u30c8\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u306e\u5f15\u6570\u3092\u4f7f\u3046<br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p><a name=\"lbl_497\">\u25bc (19)\u5c0f\u6570\u3092\u6271\u3046\u3068\u304d\u306f\u6c17\u3092\u4ed8\u3051\u308b\u3002\u6b63\u5e38\u306b\u52d5\u304b\u306a\u3044\u3053\u3068\u304c\u305f\u307e\u306b\u3042\u308b\u306e\u3067\u3002<\/a><br \/>\n\u3068\u304f\u306bSingle\u578b\u306e\u5909\u6570\u3092\u4f7f\u3063\u305f\u3068\u304d\u306b\u8a08\u7b97\u30df\u30b9\u304c\u8d77\u304d\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3002<br \/>\nVariant\u578b\u306b\u5165\u308c\u305f\u3068\u304d\u306a\u3069\u3082\u3061\u3087\u3063\u3068\u6ce8\u610f\u304c\u5fc5\u8981\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/vba-kyouiku02-fool_n_big-fault\" target=\"_blank\" rel=\"noopener noreferrer\">\u2605\u2605\u2605 Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u521d\u5fc3\u8005\u306e\u65b9\u3084\u72ec\u5b66\u8005\u306e\u65b9\u3078\uff1a\u30d1\u30bd\u30b3\u30f3\u3067\u5c0f\u6570\u8a08\u7b97\u3092\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306e\u91cd\u8981\u6027\uff5e\u95a2\u9023\u3057\u3066\u300c\u5909\u6570\u306e\u578b\u306f\u899a\u3048\u306a\u304f\u3066\u3044\u3044\u300d\u3068\u304b\u300c\u5909\u6570\u306f\u5168\u90e8Variant\u578b\u3067\u3044\u3044\u300d \u3001\u3068\u3044\u3046\u6700\u4f4e\u3067\u8150\u3063\u305f\u6559\u3048\u65b9\u306b\u306f\u3001\u7d76\u5bfe\u306b\u9a19\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d9\u30b9\u30c8\u30bb\u30e9\u30fc\u306e\u300c\u6559\u79d1\u66f8\u300d\u3092\u540d\u4e57\u308b\u672c\u3082\u771f\u4f3c\u3057\u3066\u3044\u3066\u3068\u3063\u3066\u3082\u5371\u967a\u30fb\u304b\u3064\u30fb\u8ff7\u60d1\u3067\u3059\u3002\uff5e<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<a name=\"lbl_504\">\u25bc (20)\u540c\u540d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u3067\u3082\u3001\u89aa\u3068\u3044\u3046\u304b\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5909\u308f\u308b\u3068\u3001\u307e\u3063\u305f\u304f\u7570\u306a\u308b\u52d5\u4f5c\u3068\u306a\u308a\u307e\u3059\u3002<\/a><br \/>\n\u203b\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff1d\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u76ee\u7dda\u306e\u5834\u5408\u306f\u3001\u300c\u305d\u308c\u3089\u3092\u4fdd\u6301\u30fb\u6240\u6709\u30fb\u5185\u5305\u3057\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3053\u3068\u3002\u300d\u3060\u3068\u30a4\u30e1\u30fc\u30b8\u3059\u308c\u3070\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u968e\u5c64\u69cb\u9020\u306e\u8a71\u3067\u3042\u308c\u3070\u300c1\u968e\u5c64\u4e0a\u306e\u5358\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3053\u3068\u3002\u300d\u3068\u30a4\u30e1\u30fc\u30b8\u3059\u308c\u3070OK\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u300cWorksheet.Range\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u300cRange.Range\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u306f\u3001\u304a\u306a\u3058\u300cRange\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3067\u3082\u3001\uff08\u89aa\u304c\u7570\u306a\u308b\u306e\u3067\uff09\u3084\u308c\u308b\u3053\u3068\u304c\u7570\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u307b\u304b\u3001\u305f\u3068\u3048\u3070\u3001\u300cApplication.Value \u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u300cRange.Value \u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3068\u304b\u3001<br \/>\n\u300cRange.Copy \u30e1\u30bd\u30c3\u30c9\u300d\u300cWorksheet.Copy \u30e1\u30bd\u30c3\u30c9\u300d\u300cWorksheets.Copy \u30e1\u30bd\u30c3\u30c9\u300d\u300cShape.Copy \u30e1\u30bd\u30c3\u30c9\u300d\u306a\u3069\u3082\u540c\u69d8\u3067\u3059\u3002<\/p>\n<p>\u300c\u7570\u306a\u308b\u300d\u3068\u8a00\u3046\u610f\u5473\u3067\u306f\u3001\u300c\u3048\uff1f\u3053\u3063\u3061\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3053\u3093\u306a\u3053\u3068\u3082\u3067\u304d\u3061\u3083\u3046\u306e\uff01\uff1f\u300d\u3068\u3044\u3046\u5b09\u3057\u3044\u5834\u5408\u3082\u3042\u308c\u3070\u3001\u300c\u3048\uff1f\u3042\u3063\u3061\u3067\u306f\u3053\u308c\u304c\u3067\u304d\u305f\u306e\u306b\u3001\u306a\u3093\u3067\u3053\u3063\u3061\u3067\u306f\u3067\u304d\u306a\u3044\u306e\uff1f\u3046\u304e\u3044\u30fc\u30fc\u30fc\u30fc\uff01\uff01\u300d\u3068\u306a\u3063\u3066\u3057\u307e\u3046\u60b2\u3057\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n\u7279\u306b\u5f8c\u8005\u3060\u3068\u30e1\u30b2\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n\u7247\u65b9\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u306e\u306b\u3001\u3082\u3046\u7247\u65b9\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3042\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u3067\u3001\u300c\u540c\u3058\u540d\u524d\u3060\u304b\u3089\u3067\u304d\u308b\u3053\u3068\u304c\u540c\u3058\u300d\u3068\u3044\u3046\u6c7a\u3081\u3064\u3051\u3084\u601d\u3044\u8fbc\u307f\u304c\u629c\u3051\u306a\u3044\u305f\u3081\u3001\u300c\u3082\u3068\u304b\u3089\u3067\u304d\u306a\u3044\u304b\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306b\u300d\u3001\u305d\u308c\u304c\u5206\u304b\u3089\u305a\u3001\u300c\u4f55\u65e5\u3082\u300d\u30a2\u30db\u307f\u305f\u3044\u306b\u60a9\u3080\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30d8\u30eb\u30d7\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u304c\u6271\u3048\u308c\u3070\u3001\u305d\u308c\u3067\u300c\u3042\u308c\uff1f\u3061\u3083\u3046\u3093\u304b\u306a\uff1f\u300d\u3068\u3055\u3063\u3068\u305d\u308c\u3089\u3067\u8abf\u3079\u308c\u3070\u300d\u300c3\u5206\u3067\u89e3\u6c7a\u3067\u304d\u308b\u300d\u306e\u3067\u3059\u3051\u3069\u30fb\u30fb\u30fb\u3002<br \/>\n\uff08\u203b\u300c\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u3069\u3046\u306e\u3053\u3046\u306e\u306a\u306e\u3067\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u5f53\u7136\u30fb\u30fb\u30fb\u300d\u3001\u3068\u3044\u3063\u305f\u3088\u3046\u306a\u60c5\u5831\u306fWeb\u3067\u691c\u7d22\u3057\u3066\u3082\u307b\u307c\u3001\u51fa\u3066\u304d\u307e\u305b\u3093\u3002Q&A\u30b5\u30a4\u30c8\u3067\u805e\u3044\u3066\u3082\u3044\u3044\u3067\u3059\u3051\u3069\u56de\u7b54\u304c\u5fc5\u305a\u3082\u3089\u3048\u308b\u308f\u3051\u3067\u3082\u306a\u3044\u3057\u3001\u4f55\u65e5\u3082\u5f85\u305f\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u7d50\u5c40\u3001\u30d8\u30eb\u30d7\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d6\u30e9\u30a6\u30b6\u304c\u6271\u3066\u3001\u307e\u305a\u306f\u305d\u308c\u3089\u3092\u898b\u308b\u306e\u304c\u4e00\u756a\u65e9\u9053\u3067\u3059\u3002\uff09<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n","protected":false},"excerpt":{"rendered":"\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u2605\u8d85\u91cd\u8981\uff01\uff01\u300c\u306a\u304b\u306a\u304bVBA\u304c\u4e0a\u9054\u3057\u306a\u3044\u30fb\u5fdc\u7528\u304c\u3067\u304d\u306a\u3044\u30fb\u5fdc\u7528\u304c\u5229\u304b\u306a\u3044\u30fb\u601d\u3044\u3069\u304a\u308a\u306e\u3082\u306e\u304c\u4f5c\u308c\u306a\u3044\u7406\u7531\u300d\u30025\u500b\u4ee5\u4e0a\u3002\uff5eExcel ...","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\/1597"}],"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=1597"}],"version-history":[{"count":0,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/posts\/1597\/revisions"}],"wp:attachment":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/media?parent=1597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/categories?post=1597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}