{"id":2602,"date":"2015-07-16T08:02:32","date_gmt":"2015-07-15T23:02:32","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=2602"},"modified":"2015-08-26T00:58:13","modified_gmt":"2015-08-25T15:58:13","slug":"verticalalignment","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/verticalalignment\/","title":{"rendered":"\u6587\u5b57\u5217\u306e\u7e26\u4f4d\u7f6e\u3092\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3059\u308b\uff08VerticalAlignment \u30d7\u30ed\u30d1\u30c6\u30a3\uff09"},"content":{"rendered":"<h2>VerticalAlignment \u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<p><strong>VerticalAlignment \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3067\u3001\u6307\u5b9a\u3057\u305f\u30bb\u30eb\u7bc4\u56f2\u5185\u306b\u304a\u3051\u308b\u3001<span class=\"blue\">\u6587\u5b57\u5217\u306e\u5782\u76f4\u65b9\u5411\u306e\u4f4d\u7f6e\uff08\u7e26\u4f4d\u7f6e\uff09\u3092\u8a2d\u5b9a\u30fb\u53d6\u5f97<\/span>\u3057\u307e\u3059\u3002<\/p>\n<br \/>\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>VerticalAlignment<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>Object<\/em>.<strong>VerticalAlignment<\/strong> = <em>const<\/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>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>const&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5782\u76f4\uff08\u7e26\uff09\u65b9\u5411\u306e\u914d\u7f6e\u4f4d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u5024\u30fb\u5b9a\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>result&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5782\u76f4\uff08\u7e26\uff09\u65b9\u5411\u306e\u914d\u7f6e\u4f4d\u7f6e\u3092\u8868\u3059\u5024<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u5f15\u6570 <strong><em>const<\/em> \u306b\u6307\u5b9a\u3059\u308b\u5782\u76f4\u65b9\u5411\u914d\u7f6e\u4f4d\u7f6e\u3092\u8868\u3059\u5b9a\u6570<\/strong><\/p>\n<table>\n<tr>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffcc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"80\" bgcolor=\"#ffffcc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"320\" bgcolor=\"#ffffcc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlTop<\/td>\n<td width=\"80\" align = \"center\">-4160<\/td>\n<td width=\"320\" >\u4e0a\u8a70\u3081<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlJustify<\/td>\n<td width=\"80\" align = \"center\">-4130<\/td>\n<td width=\"320\" >\u4e21\u7aef\u63c3\u3048<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlDistributed<\/td>\n<td width=\"80\" align = \"center\">-4117<\/td>\n<td width=\"320\" >\u5747\u7b49\u5272\u308a\u4ed8\u3051<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlCenter<\/td>\n<td width=\"80\" align = \"center\">-4108<\/td>\n<td width=\"320\" >\u4e2d\u592e\u63c3\u3048\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlBottom<\/td>\n<td width=\"80\" align = \"center\">-4107<\/td>\n<td width=\"320\" >\u4e0b\u8a70\u3081<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<br \/><br \/>\n<h2>VerticalAlignment \u30d7\u30ed\u30d1\u30c6\u30a3 \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=\"VerticalAlignment \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_VerticalAlignment()\r\n\r\n\r\n    Range(\"A1:C1\").VerticalAlignment = xlTop\r\n    \r\n    Range(\"A2\").VerticalAlignment = xlBottom\r\n    \r\n    Range(\"B2:C2\").VerticalAlignment = xlCenter\r\n    \r\n\r\nEnd Sub\r\n\u3000\r\n<\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p>\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9\u5b9f\u884c\u524d<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/verticalalignment01.jpg?ssl=1\" rel=\"lightbox[2602]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/verticalalignment01.jpg?resize=340%2C249&#038;ssl=1\" alt=\"VerticalAlignment \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f8b01\" width=\"340\" height=\"249\" class=\"alignnone size-full wp-image-2604\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<\/p>\n<p>\u5b9f\u884c\u5f8c<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/verticalalignment02.jpg?ssl=1\" rel=\"lightbox[2602]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/verticalalignment02.jpg?resize=338%2C251&#038;ssl=1\" alt=\"VerticalAlignment \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f8b02\" width=\"338\" height=\"251\" class=\"alignnone size-full wp-image-2605\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>VerticalAlignment \u30d7\u30ed\u30d1\u30c6\u30a3 VerticalAlignmen &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2604,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[270,63,400,38,269,397,401],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/verticalalignment01.jpg?fit=340%2C249&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-FY","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2602"}],"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=2602"}],"version-history":[{"count":5,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2602\/revisions"}],"predecessor-version":[{"id":3351,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2602\/revisions\/3351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/2604"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=2602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=2602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=2602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}