{"id":3919,"date":"2015-10-13T07:59:41","date_gmt":"2015-10-12T22:59:41","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=3919"},"modified":"2015-10-13T07:59:41","modified_gmt":"2015-10-12T22:59:41","slug":"pagesetuppapersize","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/pagesetuppapersize\/","title":{"rendered":"\u5370\u5237\u306e\u7528\u7d19\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\uff08PageSetup.PaperSize \u30d7\u30ed\u30d1\u30c6\u30a3\uff09"},"content":{"rendered":"<h2>PageSetup.PaperSize \u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<p><strong>PageSetup.PaperSize \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u3001\u5370\u5237\u7528\u7d19\u306e\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u304a\u3088\u3073\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<strong>XlPaperSize \u5217\u6319\u578b<\/strong>\u306e\u5b9a\u6570\u3092\u4f7f\u7528\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>object<\/em>.<strong>PageSetup<\/strong>.<strong>PaperSize<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>PageSetup<\/strong>.<strong>PaperSize<\/strong> = <em>const<\/em><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\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>Worksheet \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;\u7528\u7d19\u30b5\u30a4\u30ba\u3092\u8868\u3059 <strong>XlPaperSize \u5217\u6319\u578b<\/strong> \u306e\u5b9a\u6570\u307e\u305f\u306f\u305d\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#fffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#fffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#fffccc\"><strong>\u8aac\u660e<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperLetter<\/td>\n<td align = \"center\" width=\"50\">1<\/td>\n<td width=\"400\">\u30ec\u30bf\u30fc (8-1\/2 x 11 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperLetterSmall<\/td>\n<td align = \"center\" width=\"50\">2<\/td>\n<td width=\"400\">\u30ec\u30bf\u30fc (\u5c0f) (8-1\/2 x 11 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperTabloid<\/td>\n<td align = \"center\" width=\"50\">3<\/td>\n<td width=\"400\">\u30bf\u30d6\u30ed\u30a4\u30c9 (11 x 17 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperLedger<\/td>\n<td align = \"center\" width=\"50\">4<\/td>\n<td width=\"400\">Ledger (17 x 11 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperLegal<\/td>\n<td align = \"center\" width=\"50\">5<\/td>\n<td width=\"400\">\u30ea\u30fc\u30ac\u30eb (8-1\/2 x 14 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperStatement<\/td>\n<td align = \"center\" width=\"50\">6<\/td>\n<td width=\"400\">\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 (5-1\/2 x 8-1\/2 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperExecutive<\/td>\n<td align = \"center\" width=\"50\">7<\/td>\n<td width=\"400\">\u30a8\u30b0\u30bc\u30af\u30c6\u30a3\u30d6 (7-1\/2 x 10-1\/2 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperA3<\/td>\n<td align = \"center\" width=\"50\">8<\/td>\n<td width=\"400\">A3 (297 mm x 420 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperA4<\/td>\n<td align = \"center\" width=\"50\">9<\/td>\n<td width=\"400\">A4 (210 mm x 297 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperA4Small<\/td>\n<td align = \"center\" width=\"50\">10<\/td>\n<td width=\"400\">A4 \u30b9\u30e2\u30fc\u30eb (210 mm x 297 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperA5<\/td>\n<td align = \"center\" width=\"50\">11<\/td>\n<td width=\"400\">A5 (148 mm x 210 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperB4<\/td>\n<td align = \"center\" width=\"50\">12<\/td>\n<td width=\"400\">B4 (250 mm x 354 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperB5<\/td>\n<td align = \"center\" width=\"50\">13<\/td>\n<td width=\"400\">A5 (148 mm x 210 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperFolio<\/td>\n<td align = \"center\" width=\"50\">14<\/td>\n<td width=\"400\">Folio (8-1\/2 x 13 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperQuarto<\/td>\n<td align = \"center\" width=\"50\">15<\/td>\n<td width=\"400\">4 \u3064\u6298\u7248 (215 mm x 275 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaper10x14<\/td>\n<td align = \"center\" width=\"50\">16<\/td>\n<td width=\"400\">10 x 14 \u30a4\u30f3\u30c1<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaper11x17<\/td>\n<td align = \"center\" width=\"50\">17<\/td>\n<td width=\"400\">11 x 17 \u30a4\u30f3\u30c1<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperNote<\/td>\n<td align = \"center\" width=\"50\">18<\/td>\n<td width=\"400\">\u30ce\u30fc\u30c8 (8-1\/2 x 11 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelope9<\/td>\n<td align = \"center\" width=\"50\">19<\/td>\n<td width=\"400\">\u5c01\u7b52 #9 (3-7\/8 x 8-7\/2 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelope10<\/td>\n<td align = \"center\" width=\"50\">20<\/td>\n<td width=\"400\">\u5c01\u7b52 #10 (4-1\/8 x 9-1\/2 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelope11<\/td>\n<td align = \"center\" width=\"50\">21<\/td>\n<td width=\"400\">\u5c01\u7b52 #11 (4-1\/2 x 10-3\/8 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelope12<\/td>\n<td align = \"center\" width=\"50\">22<\/td>\n<td width=\"400\">\u5c01\u7b52 #12 (4-1\/2 x 11 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelope14<\/td>\n<td align = \"center\" width=\"50\">23<\/td>\n<td width=\"400\">\u5c01\u7b52 #14 (5 x 11-1\/2 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperCsheet<\/td>\n<td align = \"center\" width=\"50\">24<\/td>\n<td width=\"400\">C \u30b5\u30a4\u30ba \u30b7\u30fc\u30c8<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperDsheet<\/td>\n<td align = \"center\" width=\"50\">25<\/td>\n<td width=\"400\">D \u30b5\u30a4\u30ba \u30b7\u30fc\u30c8<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEsheet<\/td>\n<td align = \"center\" width=\"50\">26<\/td>\n<td width=\"400\">E \u30b5\u30a4\u30ba \u30b7\u30fc\u30c8<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeDL<\/td>\n<td align = \"center\" width=\"50\">27<\/td>\n<td width=\"400\">\u5c01\u7b52 DL (110 mm x 220 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeC5<\/td>\n<td align = \"center\" width=\"50\">28<\/td>\n<td width=\"400\">\u5c01\u7b52 C5 (162 mm x 229 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeC3<\/td>\n<td align = \"center\" width=\"50\">29<\/td>\n<td width=\"400\">\u5c01\u7b52 C3 (324 mm x 458 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeC4<\/td>\n<td align = \"center\" width=\"50\">30<\/td>\n<td width=\"400\">\u5c01\u7b52 C4 (229 mm x 324 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeC6<\/td>\n<td align = \"center\" width=\"50\">31<\/td>\n<td width=\"400\">\u5c01\u7b52 C6 (114 mm x 162 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeC65<\/td>\n<td align = \"center\" width=\"50\">32<\/td>\n<td width=\"400\">\u5c01\u7b52 C65 (114 mm x 229 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeB4<\/td>\n<td align = \"center\" width=\"50\">33<\/td>\n<td width=\"400\">\u5c01\u7b52 B4 (250 mm x 353 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeB5<\/td>\n<td align = \"center\" width=\"50\">34<\/td>\n<td width=\"400\">\u5c01\u7b52 B5 (176 mm x 250 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeB6<\/td>\n<td align = \"center\" width=\"50\">35<\/td>\n<td width=\"400\">\u5c01\u7b52 B6 (176 mm x 125 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeItaly<\/td>\n<td align = \"center\" width=\"50\">36<\/td>\n<td width=\"400\">\u5c01\u7b52 (110 mm x 230 mm)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopeMonarch<\/td>\n<td align = \"center\" width=\"50\">37<\/td>\n<td width=\"400\">\u5c01\u7b52 Monarch (3-7\/8 x 7-1\/2 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperEnvelopePersonal<\/td>\n<td align = \"center\" width=\"50\">38<\/td>\n<td width=\"400\">\u5c01\u7b52 (3-5\/8 x 6-1\/2 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperFanfoldUS<\/td>\n<td align = \"center\" width=\"50\">39<\/td>\n<td width=\"400\">\u7c73\u56fd\u6a19\u6e96\u8907\u5199\u7d19 (14-7\/8 x 11 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperFanfoldStdGerman<\/td>\n<td align = \"center\" width=\"50\">40<\/td>\n<td width=\"400\">\u30c9\u30a4\u30c4 \u30ea\u30fc\u30ac\u30eb\u8907\u5199\u7d19 (8-1\/2 x 13 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperFanfoldLegalGerman<\/td>\n<td align = \"center\" width=\"50\">41<\/td>\n<td width=\"400\">\u30c9\u30a4\u30c4 \u30ea\u30fc\u30ac\u30eb\u8907\u5199\u7d19 (8-1\/2 x 13 \u30a4\u30f3\u30c1)<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPaperUser<\/td>\n<td align = \"center\" width=\"50\">256<\/td>\n<td width=\"400\">\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/><br \/>\n<p class=\"caution8\"><strong>PageSetup.PaperSize \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong> \u306b\u8a2d\u5b9a\u3057\u305f\u5024\uff08\u7528\u7d19\u30b5\u30a4\u30ba\uff09\u3092\u3001\u4f7f\u7528\u3059\u308b\u30d7\u30ea\u30f3\u30bf\u304c\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>PageSetup.PaperSize \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=\"PageSetup.PaperSize \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_PageSize()\r\n\r\n    Dim w As Worksheet\r\n    Set w = ActiveSheet\r\n\r\n    '\u7528\u7d19\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\r\n    w.PageSetup.PaperSize = xlPaperA4\r\n\r\n    '\u5370\u5237\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u8868\u793a\r\n    w.PrintPreview\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 \u3092\u5b9f\u884c\u3057\u30d7\u30ec\u30d3\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u3068\u3053\u308d\u3067\u3001\u30da\u30fc\u30b8\u8a2d\u5b9a\u3092\u78ba\u8a8d<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/10\/pagesetuppagesize01.gif?ssl=1\" rel=\"lightbox[3919]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/10\/pagesetuppagesize01.gif?resize=580%2C297&#038;ssl=1\" alt=\"\u5370\u5237\u7528\u7d19\u30b5\u30a4\u30ba\u306e\u8a2d\u5b9a\u4f8b\" width=\"580\" height=\"297\" class=\"alignnone size-large wp-image-3920\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/10\/pagesetuppagesize01.gif?resize=580%2C297&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/10\/pagesetuppagesize01.gif?resize=400%2C205&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/10\/pagesetuppagesize01.gif?w=1160&amp;ssl=1 1160w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>PageSetup.PaperSize \u30d7\u30ed\u30d1\u30c6\u30a3 PageSetup.Pape &#8230; <\/p>\n","protected":false},"author":1,"featured_media":3996,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[357],"tags":[567,588,63,311,38,360,566],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/10\/pagesetuppagesize01-580x2971.gif?fit=580%2C297&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-11d","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3919"}],"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=3919"}],"version-history":[{"count":3,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3919\/revisions"}],"predecessor-version":[{"id":3995,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3919\/revisions\/3995"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/3996"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=3919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=3919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=3919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}