{"id":5017,"date":"2016-02-02T08:18:38","date_gmt":"2016-02-01T23:18:38","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=5017"},"modified":"2016-02-02T08:18:38","modified_gmt":"2016-02-01T23:18:38","slug":"copypicture","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/copypicture\/","title":{"rendered":"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u30d4\u30af\u30c1\u30e3\uff08\u753b\u50cf\uff09\u3068\u3057\u3066\u30b3\u30d4\u30fc\uff08CopyPicture \u30e1\u30bd\u30c3\u30c9\uff09"},"content":{"rendered":"<h2>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u30d4\u30af\u30c1\u30e3\uff08\u753b\u50cf\uff09\u3068\u3057\u3066\u30b3\u30d4\u30fc<\/h2>\n<div class=\"m30-l\">\n<p>\u6307\u5b9a\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u753b\u50cf\u3068\u3057\u3066\u30b3\u30d4\u30fc\u3059\u308b\u306b\u306f\u3001<strong>CopyPicture \u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>CopyPicture<\/strong> ( [ <em>apperance<\/em>, <em>format<\/em>, <em>size<\/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>Chart \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3001<span class=\"red\"><strong>ChartObject \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3001<span class=\"red\"><strong>OLEObject \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3001<span class=\"red\"><strong>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3001<span class=\"red\"><strong>Shape \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>apperance&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d4\u30af\u30c1\u30e3\u306e\u30b3\u30d4\u30fc\u5f62\u5f0f\u3092\u8868\u3059 <strong>XlPictureAppearance \u5217\u6319\u578b<\/strong> \u306e\u5b9a\u6570\u307e\u305f\u306f\u305d\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlScreen<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\">\u753b\u9762\u8868\u793a\u306b\u8fd1\u3044\u5f62\u5f0f\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPrinter<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\">\u5370\u5237\u6642\u3068\u540c\u3058\u5f62\u5f0f<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>format&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30b3\u30d4\u30fc\u3059\u308b\u753b\u50cf\u306e\u5f62\u5f0f\u3092\u8868\u3059 <strong>XlCopyPictureFormat \u5217\u6319\u578b<\/strong> \u306e\u5b9a\u6570\u307e\u305f\u306f\u305d\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPicture<\/td>\n<td width=\"50\" align = \"center\">-4147<\/td>\n<td width=\"400\">\u30c9\u30ed\u30fc\u753b\u50cf\uff08.png, .wmf, .mix\uff09\u65e2\u5b9a\u5024<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlBitmap<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\">\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\uff08.bmp, .jpg, .gif\uff09<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>size&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30b0\u30e9\u30d5\u30b7\u30fc\u30c8\u304c\u5bfe\u8c61\uff08Chart \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u306e\u3068\u304d\u306e\u307f\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d4\u30af\u30c1\u30e3\u306e\u30b3\u30d4\u30fc\u30b5\u30a4\u30ba\u3092\u8868\u3059 <strong>XlPictureAppearance \u5217\u6319\u578b<\/strong> \u306e\u5b9a\u6570\u307e\u305f\u306f\u305d\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlScreen<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\">\u753b\u9762\u8868\u793a\u3068\u540c\u3058\u5927\u304d\u3055\u3067\u30b3\u30d4\u30fc\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlPrinter<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\">\u5370\u5237\u6642\u3068\u540c\u3058\u5927\u304d\u3055\u3067\u30b3\u30d4\u30fc<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/>\n<p class=\"caution8\">\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u5f62\u5f0f\u3067\u753b\u50cf\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3068\u3001\u753b\u50cf\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>CopyPicture \u30e1\u30bd\u30c3\u30c9 \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=\"CopyPicture \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_CopyPicture1()\r\n\r\n    Dim ch As Chart\r\n    Set ch = Sheets(\"Graph1\")\r\n    \r\n    'A1 \u304b\u3089 E6 \u306e\u8868\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\r\n    Worksheets(\"Sheet1\").Range(\"A1:E6\").CopyPicture appearance:=xlScreen, Format:=xlPicture\r\n    \r\n    'Sheet2 \u306b\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u5185\u5bb9\u3092\u8cbc\u308a\u4ed8\u3051\r\n    Worksheets(\"Sheet2\").Paste Range(\"B2\")\r\n    \r\n    '\u30b0\u30e9\u30d5\u30b7\u30fc\u30c8\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\r\n    ch.CopyPicture appearance:=xlScreen, Format:=xlPicture, Size:=xlScreen\r\n    \r\n    'Sheet2 \u306b\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u5185\u5bb9\u3092\u8cbc\u308a\u4ed8\u3051\r\n    Worksheets(\"Sheet2\").Paste Range(\"B8\")\r\n    \r\n    Set ch = Nothing\r\n    \r\n    Worksheets(\"Sheet2\").Select\r\n    ActiveWindow.Zoom = 60\r\n    \r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p>\u5b9f\u884c\u524d\uff08Sheet1\uff09<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_1.jpg?ssl=1\" rel=\"lightbox[5017]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_1.jpg?resize=580%2C534&#038;ssl=1\" alt=\"CopyPicture \u30e1\u30bd\u30c3\u30c9 1_1\" width=\"580\" height=\"534\" class=\"alignnone size-large wp-image-5018\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_1.jpg?resize=580%2C534&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_1.jpg?resize=400%2C368&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_1.jpg?w=605&amp;ssl=1 605w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>\u5b9f\u884c\u524d\uff08Graph1\uff09<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_2.jpg?ssl=1\" rel=\"lightbox[5017]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_2.jpg?resize=580%2C322&#038;ssl=1\" alt=\"CopyPicture \u30e1\u30bd\u30c3\u30c9 1_2\" width=\"580\" height=\"322\" class=\"alignnone size-large wp-image-5019\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_2.jpg?resize=580%2C322&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_2.jpg?resize=400%2C222&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_2.jpg?resize=768%2C426&amp;ssl=1 768w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_2.jpg?w=982&amp;ssl=1 982w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>\u5b9f\u884c\u5f8c\uff08Sheet2\uff09<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture02.jpg?ssl=1\" rel=\"lightbox[5017]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture02.jpg?resize=580%2C386&#038;ssl=1\" alt=\"CopyPicture 2\" width=\"580\" height=\"386\" class=\"alignnone size-large wp-image-5020\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture02.jpg?resize=580%2C386&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture02.jpg?resize=400%2C266&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture02.jpg?resize=768%2C510&amp;ssl=1 768w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture02.jpg?w=844&amp;ssl=1 844w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u30d4\u30af\u30c1\u30e3\uff08\u753b\u50cf\uff09\u3068\u3057\u3066\u30b3\u30d4\u30fc \u6307\u5b9a\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":5024,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[787],"tags":[367,788,791,789,270,790,63,38,697],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/copypicture01_1-580x534-1.jpg?fit=580%2C534&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1iV","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5017"}],"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=5017"}],"version-history":[{"count":3,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5017\/revisions"}],"predecessor-version":[{"id":5023,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5017\/revisions\/5023"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/5024"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=5017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=5017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=5017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}