{"id":2410,"date":"2015-07-02T07:16:14","date_gmt":"2015-07-01T22:16:14","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=2410"},"modified":"2017-11-01T08:12:10","modified_gmt":"2017-10-31T23:12:10","slug":"definingnamed","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/definingnamed\/","title":{"rendered":"\u30bb\u30eb\u30fb\u30bb\u30eb\u7bc4\u56f2\u306b\u540d\u524d\u3092\u5b9a\u7fa9\u30fb\u524a\u9664\uff08Name \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbNames \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff09"},"content":{"rendered":"<h2>\u30bb\u30eb\u30fb\u30bb\u30eb\u7bc4\u56f2\u306b\u540d\u524d\u3092\u5b9a\u7fa9\uff08Name \u30d7\u30ed\u30d1\u30c6\u30a3\uff09<\/h2>\n<div class=\"m30-l\">\n<p><strong>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u306e<strong>Name \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u3001\u30bb\u30eb\u3084\u30bb\u30eb\u7bc4\u56f2\u306b\u3001\u300c<strong>\u540d\u524d<\/strong>\u300d\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p class=\"caution4\"><strong>Name \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3092\u4f7f\u7528\u3057\u300c\u540d\u524d\u300d\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u3001\u300c<span class=\"red\"><strong>\u30d6\u30c3\u30af\u30ec\u30d9\u30eb\u306e\u540d\u524d<\/strong><\/span>\u300d\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u307e\u3059\uff08\u30a8\u30af\u30bb\u30eb\u306e\u300c\u540d\u524d\u7ba1\u7406\u300d\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u3057\u305f\u6642\u3001\u300c\u7bc4\u56f2\u300d\u306e\u5217\u306b\u300c\u30d6\u30c3\u30af\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\uff09\u3002<\/p>\n<h3>Name \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53d6\u5f97\uff1e<\/strong><\/span><br \/>\n    <em>result<\/em> = <em>Object<\/em>.<strong>Name<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>Object<\/em>.<strong>Name<\/strong> = <em>string<\/em><\/p><\/div>\n<h3>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h3>\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span><\/li>\n<li>string&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30bb\u30eb\u30fb\u30bb\u30eb\u7bc4\u56f2\u306b\u5b9a\u7fa9\u3059\u308b\u300c\u540d\u524d\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u6587\u5b57\u5217\uff09<\/li>\n<li>result&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30bb\u30eb\u30fb\u30bb\u30eb\u7bc4\u56f2\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u300c\u540d\u524d\u300d\u3002\u6307\u5b9a\u3057\u305f\u7bc4\u56f2\u306b\u300c\u540d\u524d\u300d\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/div>\n<br \/><br \/>\n<h2>\u30bb\u30eb\u30fb\u30bb\u30eb\u7bc4\u56f2\u306b\u540d\u524d\u3092\u5b9a\u7fa9\u30fb\u524a\u9664\uff08Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff09<\/h2>\n<div class=\"m30-l\">\n<p><strong>Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong>\u306f\u3001\u30bb\u30eb\u3084\u30bb\u30eb\u7bc4\u56f2\u306b\u3001\u300c<strong>\u540d\u524d<\/strong>\u300d\u3092\u5b9a\u7fa9\u3057\u305f\u308a\u3001\u524a\u9664\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p class=\"caution4\"><strong>Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong>\u306e<strong>Add \u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u300c\u540d\u524d\u300d\u3092\u5b9a\u7fa9\u3057\u305f\u5834\u5408\u306f\u3001\u300c<span class=\"red\"><strong>\u30d6\u30c3\u30af\u30ec\u30d9\u30eb\u306e\u540d\u524d<\/strong><\/span>\u300d\u307e\u305f\u306f\u3001\u300c<span class=\"red\"><strong>\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u306e\u540d\u524d<\/strong><\/span>\u300d\u306e\u3044\u305a\u308c\u304b\u3067\u767b\u9332\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\uff08\u30a8\u30af\u30bb\u30eb\u306e\u300c\u540d\u524d\u7ba1\u7406\u300d\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u3057\u305f\u6642\u3001\u300c\u30d6\u30c3\u30af\u30ec\u30d9\u30eb\u300d\u306e\u5834\u5408\u306f\u3001\u300c\u7bc4\u56f2\u300d\u306e\u5217\u306b\u300c\u30d6\u30c3\u30af\u300d\u3068\u8868\u793a\u3055\u308c\u3001\u300c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u300d\u306e\u5834\u5408\u306f\u3001\u300c\u30b7\u30fc\u30c8\u540d\u300d\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff09\u3002<\/p>\n<h3>Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff08Add \u30e1\u30bd\u30c3\u30c9\uff09<\/h3>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>Object<\/em>.<strong>Names<\/strong>.<strong>Add<\/strong> ( [ <em>Name<\/em>, <em>RefersTo<\/em>, <em>Visible<\/em>, <em>MacroType<\/em>, <em>ShortcutKey<\/em>, <em>Category<\/em>, <em>NameLocal<\/em>, <em>RefersToLocal<\/em>, <em>CategoryLocal<\/em>, <em>RefersToR1C1<\/em>, <em>RefersToR1C1Local<\/em> ] )<\/p><\/div>\n<h3>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h3>\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Names \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span><br \/>\n      \u203b <span class=\"blue\">\u3053\u3053\u306b\u3001<strong>Workbook \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u300c<strong>\u30d6\u30c3\u30af\u30ec\u30d9\u30eb<\/strong>\u300d\u306e <strong>Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong>\u3092\u3001<strong>Worksheet \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u300c<strong>\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb<\/strong>\u300d\u306e <strong>Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong>\u3092\u3001\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/li>\n<li>Name&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\">\u300c\u540d\u524d\u300d\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u6587\u5b57\u5217<\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>RefersTo&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\">\u300c\u540d\u524d\u300d\u3068\u95a2\u9023\u4ed8\u3051\u308b\u30bb\u30eb\u7bc4\u56f2<\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u53c2\u7167\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u3001Nothing \u304c\u8fd4\u3055\u308c\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>Visible&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u300c\u540d\u524d\u300d\u3092\u8868\u793a\u3059\u308b\u5834\u5408\u306f <strong>True<\/strong> \u3092\u6307\u5b9a\u3001\u975e\u8868\u793a\u306b\u3059\u308b\u5834\u5408\u306f <strong>False<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u975e\u8868\u793a\u306e\u5834\u5408\u306f\u3001[\u540d\u524d\u306e\u5b9a\u7fa9]\u3001[\u540d\u524d\u306e\u8cbc\u308a\u4ed8\u3051]\u3001\u304a\u3088\u3073 [\u30b8\u30e3\u30f3\u30d7] \u30c0\u30a4\u30a2\u30ed\u30b0 \u30dc\u30c3\u30af\u30b9\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\u65e2\u5b9a\u5024\u306f <strong>True<\/strong> \u3067\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>MacroType&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30de\u30af\u30ed\u306e\u7a2e\u985e\u3092\u3001\u6b21\u306e\u3044\u305a\u308c\u304b\u306e\u5024\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n      1\u30fb\u30fb\u30fb\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570 (Function \u30d7\u30ed\u30b7\u30fc\u30b8\u30e3)<br \/>\n      2\u30fb\u30fb\u30fb\u30de\u30af\u30ed (Sub \u30d7\u30ed\u30b7\u30fc\u30b8\u30e3)<br \/>\n      3\u30fb\u30fb\u30fb\u306a\u3057 (\u5b9a\u7fa9\u3057\u305f\u540d\u524d\u306f\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u307e\u305f\u306f\u30de\u30af\u30ed\u3092\u53c2\u7167\u3057\u307e\u305b\u3093)<br \/>\n      \u65e2\u5b9a\u5024\u306f <strong>3<\/strong> \u3067\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>ShortcutKey&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30de\u30af\u30ed\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>Category&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>MacroType<\/em> \u304c <strong>1<\/strong> \u307e\u305f\u306f <strong>2<\/strong> \u306e\u3068\u304d\u306b\u3001\u300c\u540d\u524d\u300d\u304c\u53c2\u7167\u3059\u308b\u30de\u30af\u30ed\u3084\u95a2\u6570\u306e\u5206\u985e\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>NameLocal&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>Name<\/em> \u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u540d\u524d\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u6587\u5b57\u5217\uff08\u65e5\u672c\u8a9e\u7b49\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u540d\u524d\u306b\u306f\u3001\u30b9\u30da\u30fc\u30b9\u3092\u542b\u3081\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>RefersToLocal&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>RefersTo<\/em>\u3001<em>RefersToR1C1<\/em>\u3001\u304a\u3088\u3073 <em>RefersToR1C1Local<\/em> \u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001A1 \u5f62\u5f0f\u306e\u8868\u8a18\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u3001\u6587\u5b57\u5217\u3067\u540d\u524d\u306e\u53c2\u7167\u5148\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>CategoryLocal&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>Category<\/em> \u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a\u95a2\u6570\u306e\u5206\u985e\u3092\u793a\u3059\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>RefersToR1C1&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>RefersTo<\/em>\u3001<em>RefersToLocal<\/em>\u3001\u304a\u3088\u3073 <em>RefersToR1C1Local<\/em> \u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001<span class=\"red\">R1C1 \u5f62\u5f0f\u306e\u8868\u8a18\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u540d\u524d\u306e\u53c2\u7167\u5148\u3092\u6307\u5b9a<\/span>\u3057\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>RefersToR1C1Local&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>RefersTo<\/em>\u3001<em>RefersToLocal<\/em>\u3001\u304a\u3088\u3073 <em>RefersToR1C1<\/em> \u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001R1C1 \u5f62\u5f0f\u306e\u8868\u8a18\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u6587\u5b57\u5217\uff08\u65e5\u672c\u8a9e\u7b49\uff09\u3067\u540d\u524d\u306e\u53c2\u7167\u5148\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u7701\u7565\u53ef\uff09<\/li>\n<li>result&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u4f5c\u6210\u3057\u305f\u300c\u540d\u524d\u300d\u3092\u8868\u3059 <strong>Name<\/strong> \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/li>\n<\/ul>\n<br \/>\n<h3>Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff08Item \u30e1\u30bd\u30c3\u30c9\uff09<\/h3>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>Object<\/em>.<strong>Names<\/strong>.<strong>Item<\/strong> ( [ <em>Index<\/em>, <em>IndexLocal<\/em>, <em>RefersTo<\/em> ] )<\/p><\/div>\n<h3>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h3>\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Names \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span><\/li>\n<li>Index&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u306e\u5b9a\u7fa9\u540d\u307e\u305f\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>IndexLocal&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5b9a\u7fa9\u540d\u306e\u540d\u524d\u3092\u65e5\u672c\u8a9e\u7b49\uff08\u30e6\u30fc\u30b6\u30fc\u306e\u8a00\u8a9e\uff09\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>RefersTo&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u300c\u540d\u524d\u300d\u304c\u53c2\u7167\u3059\u308b\u30bb\u30eb\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>result&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u542b\u307e\u308c\u308b <strong>Name<\/strong> \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\uff13\u3064\u306e\u5f15\u6570\u306f\u3001\u7701\u7565\u53ef\u80fd\u3067\u3059\u304c\u3001\u5fc5\u305a 1 \u3064\u3060\u3051\u5f15\u6570\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Names \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff08\u30d7\u30ed\u30d1\u30c6\u30a3\uff09<\/h3>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>Object<\/em>.<strong>Names<\/strong>.<strong>Application<\/strong><\/p>\n<p>    <em>Object<\/em>.<strong>Names<\/strong>.<strong>Count<\/strong><\/p>\n<p>    <em>Object<\/em>.<strong>Names<\/strong>.<strong>Creator<\/strong><\/p>\n<p>    <em>Object<\/em>.<strong>Names<\/strong>.<strong>Parent<\/strong><\/p>\n<\/div>\n<h3>\u9805\u76ee\u306e\u8aac\u660e<\/h3>\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Names \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span><\/li>\n<li><strong>Application<\/strong>&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002\u5bfe\u8c61\u3068\u306a\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6307\u5b9a\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u3001Excel \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 (Application \u30aa\u30d6\u30b8\u30a7\u30af\u30c8) \u3092\u8fd4\u3057\u307e\u3059\u3002\u5bfe\u8c61\u3068\u306a\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6307\u5b9a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u305f Application \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u306e\u307f\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<li><strong>Count<\/strong>&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u542b\u307e\u308c\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6570\u3092\u8868\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<li><strong>Creator<\/strong>&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u6307\u5b9a\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u300132 \u30d3\u30c3\u30c8\u306e\u6574\u6570\u5024\u3067\u8fd4\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u306e\u307f\u53ef\u80fd\u3067\u3059\u3002\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li><strong>Parent<\/strong>&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u6307\u5b9a\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u89aa\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u306e\u307f\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/div>\n<br \/><br \/>\n<h2>\u300c\u540d\u524d\u4ed8\u304d\u30bb\u30eb\u7bc4\u56f2\u300d\u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u300c\u540d\u524d\u4ed8\u304d\u30bb\u30eb\u7bc4\u56f2\u300d\u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Name()\r\n\r\n\r\n    '\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u306e\u4f5c\u6210\r\n\r\n    Sheets(\"Sheet3\").Activate\r\n    \r\n    '\u30bb\u30eb\u7bc4\u56f2\u300cB3:H8\u300d\u306e\u540d\u524d\u3092\u300c\u58f2\u4e0a\u8868\u300d\uff08\u5bfe\u8c61\u306f\u3001\u30d6\u30c3\u30af\uff09\r\n    Application.Names.Add \"\u58f2\u4e0a\u8868\", Range(\"B3:H8\")\r\n    \r\n    '\u30bb\u30eb\u7bc4\u56f2\u300cB3:B8\u300d\u306e\u540d\u524d\u3092\u300c\u5546\u54c1ID\u300d\uff08\u5bfe\u8c61\u306f\u3001\u300cSheet3\u300d\uff09\r\n    Worksheets(\"Sheet3\").Names.Add _\r\n                Name:=\"\u5546\u54c1ID\", _\r\n                RefersTo:=\"=Sheet3!$B$3:$B$8\"   '\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u7d76\u5bfe\u53c2\u7167\u3092\u4f7f\u7528\r\n            \r\n    '\u30bb\u30eb\u7bc4\u56f2\u300cJ3:K10\u300d\u306e\u540d\u524d\u3092\u300c\u5546\u54c1\u300d\uff08\u5bfe\u8c61\u306f\u3001\u30d6\u30c3\u30af\uff09\r\n    Worksheets(3).Range(\"J3:K10\").Name = \"\u5546\u54c1\u4e00\u89a7\u8868\"\r\n    \r\n    '\u30bb\u30eb\u7bc4\u56f2\u300cC3:C8\u300d\u306e\u540d\u524d\u3092\u300c\u5546\u54c1\u540d\u300d\uff08\u5bfe\u8c61\u306f\u3001\u30d6\u30c3\u30af\uff09\r\n    Sheets(\"Sheet3\").Range(\"C3:C8\").Name = \"\u5546\u54c1\u540d\"\r\n    \r\n    \r\n    '\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u306e\u8868\u793a\r\n    \r\n    Dim i As Long, str As String, strtmp As String, Chrs As String\r\n    \r\n    With Application\r\n    \r\n        For i = 1 To .Names.Count\r\n            \r\n            '\u898b\u6804\u3048\u3092\u6574\u3048\u308b\u305f\u3081\r\n            If Len(.Names.Item(i).Name) > 4 Then\r\n                Chrs = Chr(9)\r\n            Else\r\n                Chrs = Chr(9) & Chr(9)\r\n            End If\r\n            \r\n            '\u300c\u7bc4\u56f2\u306e\u540d\u524d\u300d\u3068\u300c\u30a2\u30c9\u30ec\u30b9\u300d\r\n            strtmp = .Names.Item(i).Name & Chrs & .Names.Item(i).RefersTo\r\n            \r\n            str = str & strtmp & Chr(13)\r\n        \r\n        Next i\r\n    \r\n    End With\r\n    \r\n        \r\n    '\u4f5c\u6210\u3057\u305f\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u306e\u6570\u3068\u540d\u524d\u30fb\u30a2\u30c9\u30ec\u30b9\u3092\u8868\u793a\r\n    MsgBox str\r\n        \r\n\r\n    '\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u306e\u5909\u66f4\u30fb\u524a\u9664\r\n    \r\n    '\u300cSheet3!\u5546\u54c1ID\u300d\u3092\u300cSheet3!\u5408\u8a08\u300d\u306b\u5909\u66f4\r\n    '\uff08\u300cSheet3!\u5546\u54c1ID\u300d\u306f\u524a\u9664\u3055\u308c\u308b\uff09\r\n    Names(\"Sheet3!\u5546\u54c1ID\").Name = \"\u5408\u8a08\"\r\n\r\n    '\u300c\u5546\u54c1\u540d\u3068\u5358\u4fa1\u300d\u3092\u300c\u5546\u54c1\u540d\u300d\u3092\u5143\u306b\u4f5c\u6210\r\n    '\u300c\u5546\u54c1\u540d\u3068\u5358\u4fa1\u300d\u306f\u305d\u306e\u307e\u307e\u6b8b\u308b\r\n    Range(\"\u5546\u54c1\u540d\").Name = \"\u5546\u54c1\u540d\u3068\u5358\u4fa1\"\r\n\r\n    '\u7bc4\u56f2\u3092\u5909\u66f4\uff08\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3000\u203b \u7d76\u5bfe\u53c2\u7167\u3092\u4f7f\u7528\u3059\u308b\uff09\r\n    Names(\"Sheet3!\u5408\u8a08\").RefersTo = \"=Sheet3!$H$3:$H$8\"\r\n\r\n    '\u7bc4\u56f2\u3092\u5909\u66f4\uff08Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6307\u5b9a\uff09\r\n    Names(\"\u5546\u54c1\u540d\u3068\u5358\u4fa1\").RefersTo = Range(\"C3:D8\")\r\n\r\n    \r\n    '\u5909\u66f4\u30fb\u4fee\u6b63\u3092\u8868\u793a\r\n    \r\n    str = \"\": strtmp = \"\"\r\n    \r\n    With Application\r\n    \r\n        For i = 1 To .Names.Count\r\n            \r\n            '\u898b\u6804\u3048\u3092\u6574\u3048\u308b\u305f\u3081\r\n            If Len(.Names.Item(i).Name) > 4 Then\r\n                Chrs = Chr(9)\r\n            Else\r\n                Chrs = Chr(9) & Chr(9)\r\n            End If\r\n            \r\n            '\u300c\u7bc4\u56f2\u306e\u540d\u524d\u300d\u3068\u300c\u30a2\u30c9\u30ec\u30b9\u300d\r\n            strtmp = .Names.Item(i).Name & Chrs & .Names.Item(i).RefersTo\r\n            \r\n            str = str & strtmp & Chr(13)\r\n        \r\n        Next i\r\n    \r\n    End With\r\n\r\n    MsgBox str\r\n    \r\n\r\n    '\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u3092\u524a\u9664\r\n    \r\n    '\u300cSheet3\u300d\u306e\u540d\u524d\u4ed8\u7bc4\u56f2\u3092\u524a\u9664\r\n    If ActiveSheet.Names.Count <> 0 Then\r\n\r\n        Do While ActiveSheet.Names.Count > 0\r\n\r\n            ActiveSheet.Names(ActiveSheet.Names.Count).Delete\r\n\r\n        Loop\r\n\r\n    End If\r\n    \r\n    '\u524a\u9664\u5f8c\u3092\u8868\u793a\r\n    \r\n    str = \"\": strtmp = \"\"\r\n    \r\n    With Application\r\n\r\n        For i = 1 To .Names.Count\r\n            \r\n            '\u898b\u6804\u3048\u3092\u6574\u3048\u308b\u305f\u3081\r\n            If Len(.Names.Item(i).Name) > 4 Then\r\n                Chrs = Chr(9)\r\n            Else\r\n                Chrs = Chr(9) & Chr(9)\r\n            End If\r\n            \r\n            '\u300c\u7bc4\u56f2\u306e\u540d\u524d\u300d\u3068\u300c\u30a2\u30c9\u30ec\u30b9\u300d\r\n            strtmp = .Names.Item(i).Name & Chrs & .Names.Item(i).RefersTo\r\n            \r\n            str = str & strtmp & Chr(13)\r\n        \r\n        Next i\r\n    \r\n    End With\r\n\r\n    MsgBox str\r\n    \r\n    \r\n    '\u3059\u3079\u3066\u306e\u540d\u524d\u4ed8\u7bc4\u56f2\u3092\u524a\u9664\r\n    If Application.Names.Count <> 0 Then\r\n\r\n        Do While Application.Names.Count > 0\r\n\r\n            Application.Names(Application.Names.Count).Delete\r\n\r\n        Loop\r\n\r\n    End If\r\n\r\n    '\u524a\u9664\u5f8c\u3092\u8868\u793a\r\n    \r\n    str = \"\": strtmp = \"\"\r\n    \r\n    With Application\r\n    \r\n        For i = 1 To .Names.Count\r\n            \r\n            '\u898b\u6804\u3048\u3092\u6574\u3048\u308b\u305f\u3081\r\n            If Len(.Names.Item(i).Name) > 4 Then\r\n                Chrs = Chr(9)\r\n            Else\r\n                Chrs = Chr(9) & Chr(9)\r\n            End If\r\n            \r\n            '\u300c\u7bc4\u56f2\u306e\u540d\u524d\u300d\u3068\u300c\u30a2\u30c9\u30ec\u30b9\u300d\r\n            strtmp = .Names.Item(i).Name & Chrs & .Names.Item(i).RefersTo\r\n            \r\n            str = str & strtmp & Chr(13)\r\n        \r\n        Next i\r\n    \r\n    End With\r\n\r\n    If str = \"\" Then\r\n        MsgBox \"\u3059\u3079\u3066\u524a\u9664\u3055\u308c\u307e\u3057\u305f\"\r\n    Else\r\n        MsgBox str\r\n    End If\r\n\r\n\r\nEnd Sub\r\n\u3000\r\n<\/pre>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p>\u4f5c\u6210\u3057\u305f\u300c\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u300d\u306e\u540d\u524d\u30fb\u30a2\u30c9\u30ec\u30b9\u3092\u8868\u793a<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col01c1.jpg?ssl=1\" rel=\"lightbox[2410]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col01c1.jpg?resize=400%2C174&#038;ssl=1\" alt=\"Name \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbNames \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3000\u4f8b1\" width=\"400\" height=\"174\" class=\"alignnone size-medium wp-image-2447\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col01c1.jpg?resize=400%2C174&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col01c1.jpg?resize=580%2C252&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col01c1.jpg?w=1114&amp;ssl=1 1114w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<br \/><\/p>\n<p>\u4fee\u6b63\u3057\u305f\u300c\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u300d\u306e\u540d\u524d\u30fb\u30a2\u30c9\u30ec\u30b9\u3092\u8868\u793a<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col02c1.jpg?ssl=1\" rel=\"lightbox[2410]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col02c1.jpg?resize=400%2C173&#038;ssl=1\" alt=\"Name \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbNames \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3000\u4f8b2\" width=\"400\" height=\"173\" class=\"alignnone size-medium wp-image-2448\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col02c1.jpg?resize=400%2C173&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col02c1.jpg?resize=580%2C250&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col02c1.jpg?w=1113&amp;ssl=1 1113w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<br \/><\/p>\n<p>\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u306e\u300c\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u300d\u3092\u524a\u9664\u3057\u305f\u3042\u3068\u306e\u300c\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u300d\u3092\u8868\u793a<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col03.jpg?ssl=1\" rel=\"lightbox[2410]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col03.jpg?resize=400%2C174&#038;ssl=1\" alt=\"Name \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbNames \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3000\u4f8b3\" width=\"400\" height=\"174\" class=\"alignnone size-medium wp-image-2419\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col03.jpg?resize=400%2C174&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col03.jpg?resize=580%2C252&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col03.jpg?w=1113&amp;ssl=1 1113w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<br \/><\/p>\n<p>\u3059\u3079\u3066\u306e\u300c\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u300d\u3092\u524a\u9664<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col04.jpg?ssl=1\" rel=\"lightbox[2410]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col04.jpg?resize=400%2C173&#038;ssl=1\" alt=\"Name \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbNames \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3000\u4f8b4\" width=\"400\" height=\"173\" class=\"alignnone size-medium wp-image-2420\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col04.jpg?resize=400%2C173&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col04.jpg?resize=580%2C251&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col04.jpg?w=1113&amp;ssl=1 1113w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a>\n<\/div>\n<br \/><br \/>\n<h2>\u307e\u3068\u3081<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba name_mk\">\u300c\u540d\u524d\u300d\u306e\u4f5c\u6210<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u300c\u540d\u524d\u4ed8\u304d\u30bb\u30eb\u7bc4\u56f2\u300d\u307e\u3068\u3081\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Make_Name()\r\n\r\n    'Names.Add \u30e1\u30bd\u30c3\u30c9\u300c\u30d6\u30c3\u30af\u30ec\u30d9\u30eb\u300d\r\n    ThisWorkbook.Names.Add Name:=\"\u30c6\u30b9\u30c8\uff11\", RefersTo:=Range(\"B4:B8\")\r\n    \r\n    'Names.Add \u30e1\u30bd\u30c3\u30c9\u300c\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u300d\r\n    ActiveSheet.Names.Add \"\u30c6\u30b9\u30c8\uff12\", Range(\"C4:C8\")\r\n    \r\n    'Name \u30d7\u30ed\u30d1\u30c6\u30a3\u300c\u30d6\u30c3\u30af\u30ec\u30d9\u30eb\u300d\r\n    Range(\"D4:D8\").Name = \"\u30c6\u30b9\u30c8\uff13\"\r\n    \r\n    'Names.Add \u30e1\u30bd\u30c3\u30c9\u300c\u30d6\u30c3\u30af\u30ec\u30d9\u30eb\u300d\u6587\u5b57\u5217\u3067\u6307\u5b9a\r\n    Names.Add \"\u30c6\u30b9\u30c8\uff14\", \"=Sheet3!$E$4:$E$8\"\r\n    \r\n    'Names.Add \u30e1\u30bd\u30c3\u30c9\u300c\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u300d\r\n    Worksheets(\"Sheet3\").Names.Add \"\u30c6\u30b9\u30c85\", Range(\"F4:F8\")\r\n\u3000\r\nEnd Sub\r\n<\/pre>\n<br \/>\n<h3 id=\"vba name_info\">\u300c\u540d\u524d\u300d\u306e\u60c5\u5831\u53d6\u5f97<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u300c\u540d\u524d\u4ed8\u304d\u30bb\u30eb\u7bc4\u56f2\u300d\u60c5\u5831\u53d6\u5f97\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Info_Name()\r\n  \r\n    '\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u300c\u540d\u524d\u300d\u306e\u6570\uff08\u3059\u3079\u3066\uff09\r\n    MsgBox Names.Count\r\n    \r\n    '\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u300c\u540d\u524d\u300d\u306e\u6570\uff08\u300c\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u300d\u306e\u307f\uff09\r\n    MsgBox ActiveSheet.Names.Count\r\n    \r\n    '\u300c\u540d\u524d\u300d\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3092\u53d6\u5f97\r\n    MsgBox Names.Item(\"\u30c6\u30b9\u30c8\uff14\").Index\r\n    \r\n    '\u300c\u540d\u524d\u300d\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\uff08A1\u5f62\u5f0f\uff09\r\n    MsgBox Application.Names(1).RefersTo\r\n    \r\n    '\u300c\u540d\u524d\u300d\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u7bc4\u56f2\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\uff08R1C1\u5f62\u5f0f\uff09\r\n    MsgBox Worksheets(\"Sheet3\").Names.Item(1).RefersToR1C1\r\n\u3000\r\nEnd Sub\r\n\u3000\r\n<\/pre>\n<br \/>\n<h3 id=\"vba name_info\">\u300c\u540d\u524d\u300d\u306e\u30bb\u30eb\u7bc4\u56f2\u53d6\u5f97\u30fb\u30bb\u30eb\u7bc4\u56f2\u306e\u5909\u66f4<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u300c\u540d\u524d\u4ed8\u304d\u30bb\u30eb\u7bc4\u56f2\u300d\u60c5\u5831\u53d6\u5f97\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Range_Name()\r\n  \r\n    '\u300c\u540d\u524d\u300d\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u9078\u629e\uff08Range \u30d7\u30ed\u30d1\u30c6\u30a3\uff09\r\n    Range(\"\u30c6\u30b9\u30c85\").Select\r\n    \r\n    '\u300c\u540d\u524d\u300d\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u9078\u629e\uff08RefersToRange \u30d7\u30ed\u30d1\u30c6\u30a3\uff09\r\n    Names(\"\u30c6\u30b9\u30c85\").RefersToRange.Select\r\n    \r\n    '\u300c\u540d\u524d\u300d\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u5909\u66f4\r\n    Names(\"\u30c6\u30b9\u30c85\").RefersTo = Range(\"H2:J7\")\r\n    \r\n    '\u300c\u540d\u524d\u300d\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u5909\u66f4\uff08\u6587\u5b57\u5217\u3067\u6307\u5b9a\uff09\r\n    Names(\"\u30c6\u30b9\u30c85\").RefersTo = \"=Sheet1!$H$2:$J$7\"\r\n\u3000\r\nEnd Sub\r\n\u3000\r\n<\/pre>\n<br \/>\n<h3 id=\"vba name_info\">\u300c\u540d\u524d\u300d\u306e\u524a\u9664<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u300c\u540d\u524d\u4ed8\u304d\u30bb\u30eb\u7bc4\u56f2\u300d\u524a\u9664\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Delet_Name()\r\n  \r\n    '\u300c\u30d6\u30c3\u30af\u30ec\u30d9\u30eb\u300d\u306e\u300c\u540d\u524d\u300d\u3092\u524a\u9664\r\n    Application.Names.Item(\"\u30c6\u30b9\u30c8\uff11\").Delete\r\n    \r\n    '\u300c\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u300d\u306e\u300c\u540d\u524d\u300d\u3092\u524a\u9664\r\n    ActiveSheet.Names.Item(\"\u30c6\u30b9\u30c8\uff12\").Delete\r\n    \r\n    \r\n    Dim v\r\n    '\u300c\u30b7\u30fc\u30c8\u30ec\u30d9\u30eb\u300d\u306e\u300c\u540d\u524d\u300d\u3092\u307e\u3068\u3081\u3066\u524a\u9664\r\n    For Each v In Sheets(\"Sheet3\").Names\r\n    \r\n        MsgBox v.Name\r\n        v.Delete\r\n    \r\n    Next v\r\n    \r\n    '\u3059\u3079\u3066\u306e\u300c\u540d\u524d\u300d\u3092\u307e\u3068\u3081\u3066\u524a\u9664\r\n    For Each v In Application.Names\r\n        \r\n        MsgBox v.Name\r\n        v.Delete\r\n    \r\n    Next v\r\n\u3000\r\nEnd Sub\r\n\u3000\r\n<\/pre>\n<br \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u30bb\u30eb\u30fb\u30bb\u30eb\u7bc4\u56f2\u306b\u540d\u524d\u3092\u5b9a\u7fa9\uff08Name \u30d7\u30ed\u30d1\u30c6\u30a3\uff09 Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eN &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2454,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[301,351,352,350,270,63,38,269],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/names_col01c1-400x1741.jpg?fit=400%2C174&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-CS","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2410"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=2410"}],"version-history":[{"count":36,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2410\/revisions"}],"predecessor-version":[{"id":6504,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2410\/revisions\/6504"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/2454"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=2410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=2410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=2410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}