{"id":965,"date":"2022-03-13T14:50:37","date_gmt":"2022-03-13T05:50:37","guid":{"rendered":"https:\/\/beiyan-tool.info\/?p=965"},"modified":"2022-03-13T14:50:37","modified_gmt":"2022-03-13T05:50:37","slug":"excel-vba%e3%81%a7%e5%88%97%e3%81%ae%e3%82%a2%e3%83%ab%e3%83%95%e3%82%a1%e3%83%99%e3%83%83%e3%83%88%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e3%82%b3%e3%83%bc%e3%83%89","status":"publish","type":"post","link":"https:\/\/beiyan-tool.info\/?p=965","title":{"rendered":"Excel VBA\u3067\u5217\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30fc\u30c9"},"content":{"rendered":"<p>Excel VBA\u3067\u5217\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u8868\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 108pt;\" border=\"0\" width=\"144\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col style=\"width: 54pt;\" span=\"2\" width=\"72\" \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 18.75pt;\">\n<td class=\"xl65\" style=\"height: 18.75pt; width: 54pt;\" width=\"72\" height=\"25\">\u4f1a\u54e1\u756a\u53f7<\/td>\n<td class=\"xl65\" style=\"border-left: none; width: 54pt;\" width=\"72\">\u540d\u524d<\/td>\n<\/tr>\n<tr style=\"height: 18.75pt;\">\n<td class=\"xl65\" style=\"height: 18.75pt; border-top: none;\" align=\"right\" height=\"25\">1<\/td>\n<td class=\"xl65\" style=\"border-top: none; border-left: none;\">\u3084\u307e\u3060<\/td>\n<\/tr>\n<tr style=\"height: 18.75pt;\">\n<td class=\"xl65\" style=\"height: 18.75pt; border-top: none;\" align=\"right\" height=\"25\">2<\/td>\n<td class=\"xl65\" style=\"border-top: none; border-left: none;\">\u3044\u3068\u3046<\/td>\n<\/tr>\n<tr style=\"height: 18.75pt;\">\n<td class=\"xl65\" style=\"height: 18.75pt; border-top: none;\" align=\"right\" height=\"25\">3<\/td>\n<td class=\"xl65\" style=\"border-top: none; border-left: none;\">\u3054\u3068\u3046<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f1a\u54e1\u756a\u53f7\u306fA\u5217\u3001\u540d\u524d\u306fB\u5217\u3067\u3059\u3002<\/p>\n<p>\u540d\u524d\u306e\u5217\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30fc\u30c9\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">Replace(Cells(1, WorksheetFunction.Match(\"\u540d\u524d\", Range(\"A1:B1\"), 0)).Address(True, False), \"$1\", \"\")<\/pre>\n<p>Cells(1, 2).Address(True, False)<br \/>\n\u306f\u300cB$1\u300d\u3068\u306a\u308b\u306e\u3067\u3001\u300c$1\u300d\u3092\u6d88\u3057\u3066\u300cB]\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Cells(1, 2)\u306e\u300c2\u300d\u306fWorksheetFunction.Match(&#8220;\u540d\u524d&#8221;, Range(&#8220;A1:B1&#8221;), 0)\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>A1:B1\u3000\u306b\u300c\u540d\u524d\u300d\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u300cWorksheetFunction\u30af\u30e9\u30b9\u306eMatch\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093 \u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3067\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel VBA\u3067\u5217\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 \u3053\u3093\u306a\u8868\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002 \u4f1a\u54e1\u756a\u53f7 \u540d\u524d 1 \u3084\u307e\u3060 2 \u3044\u3068\u3046 3 \u3054\u3068\u3046 \u4f1a\u54e1\u756a\u53f7\u306fA\u5217\u3001\u540d\u524d\u306fB\u5217\u3067\u3059\u3002 \u540d\u524d\u306e\u5217\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u53d6 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-965","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=\/wp\/v2\/posts\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=965"}],"version-history":[{"count":1,"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=\/wp\/v2\/posts\/965\/revisions"}],"predecessor-version":[{"id":966,"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=\/wp\/v2\/posts\/965\/revisions\/966"}],"wp:attachment":[{"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beiyan-tool.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}