{"id":8941,"date":"2016-05-20T12:30:00","date_gmt":"2016-05-20T03:30:00","guid":{"rendered":"http:\/\/happy-man-jp.check-xserver.jp\/engineer\/?p=8941"},"modified":"2016-05-21T05:30:08","modified_gmt":"2016-05-20T20:30:08","slug":"post-8941","status":"publish","type":"post","link":"https:\/\/happy-man.jp\/engineer\/?p=8941","title":{"rendered":"\u753b\u50cf\u633f\u5165\uff08Pictures.Insert \u30e1\u30bd\u30c3\u30c9\uff09\u3067\u30ea\u30f3\u30af\u5207\u308c\u306b\u306a\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30b4\u30ea\u62bc\u3057\u3067\u5fa9\u6d3b\u3055\u305b\u308b\u30de\u30af\u30ed\u3092\u4f5c\u3063\u305f\u3002\uff08\u59a5\u5354\u7de8\u30fb\u5b8c\uff09"},"content":{"rendered":"<p>\u304a\u3058\u3055\u3093\u3001\u521d\u3081\u3066\u30de\u30af\u30ed\u3092\u4f5c\u308b\u3002\u30bd\u30fc\u30b9\u4e57\u3063\u3051\u3066\u307e\u3059\u3051\u3069\u3001\u8cac\u4efb\u306f\u8ca0\u308f\u306a\u3044\u3067\u3059\u3088\u3002\u4e00\u5fdc\u79c1\u306e\u74b0\u5883\u3067\u306f\u4f7f\u3048\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #ffffff; font-size: 14pt; background-color: #3366ff;\">\u3010\u539f\u70b9\u306b\u623b\u308b\u3011<\/span><\/p>\n<p>\u3053\u306e\u554f\u984c\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306a\u3093\u3060\u304c\u3001\u4f5c\u3063\u305f\u30d1\u30bd\u30b3\u30f3\u3067\u306a\u3089\u753b\u50cf\u304c\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3001\u5f62\u5f0f\u3092\u9078\u629e\u3057\u3066JPEG\u3067\u8cbc\u308a\u4ed8\u3051\u3068\u3044\u3046\u4f5c\u696d\u3092\u3057\u3055\u3048\u3059\u308c\u3070\u3001\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306f\u57cb\u3081\u8fbc\u3081\u308b\u3002<\/p>\n<p>\u305d\u306e\u4f5c\u696d\u3092\u624b\u4f5c\u696d\u3067\u3084\u308b\u304b\u3001\u30de\u30af\u30ed\u3067\u3084\u308b\u304b\u3067\u59a5\u5354\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u3010\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u30b3\u30d4\u30fc&amp;\u8cbc\u308a\u4ed8\u3051\u30fb\u5143\u30c7\u30fc\u30bf\u6d88\u53bb\u306e\u4f5c\u696d\u3011<\/p>\n<p>\u9762\u5012\u306a\u306e\u3067\u3001Excel\u3067\u30de\u30af\u30ed\u306e\u8a18\u9332\u3092\u3055\u305b\u3066\u307f\u305f\u3002<\/p>\n<blockquote>\n<p>Sub Macro2()<\/p>\n<p>\u00a0 \u00a0 ActiveSheet.Shapes.Range(Array(&#8220;\u56f3 6&#8243;)).Select\u2190\u753b\u50cf\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a8d\u8b58\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3002<\/p>\n<p>\u00a0 \u00a0 Selection.Copy\u2190\u753b\u50cf\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30b3\u30d4\u30fc\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3002<\/p>\n<p>\u00a0 \u00a0 ActiveSheet.PasteSpecial Format:=&#8221;\u56f3 (JPEG)&#8221;, Link:=False, DisplayAsIcon:= _<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 False\u3000\u2190\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u304b\u3089JPEG\u5f62\u5f0f\u3067\u4fdd\u5b58\u3059\u308b\u30b3\u30de\u30f3\u30c9<\/p>\n<p>\u00a0 \u00a0 Selection.ShapeRange.ZOrder msoSendToBack\u2190\u8cbc\u4ed8\u3057\u305fJPEG\u3092\u80cc\u9762\u306b\u79fb\u52d5\u3055\u305b\u308b\u30b3\u30de\u30f3\u30c9<\/p>\n<p>\u00a0 \u00a0 ActiveSheet.Shapes.Range(Array(&#8220;\u56f3 6&#8221;)).Select\u2190\u5143\u306e\u30c7\u30fc\u30bf\u3092\u9078\u629e\u3059\u308b\u30b3\u30de\u30f3\u30c9<\/p>\n<p>\u00a0 \u00a0 Selection.Delete\u2190\u6d88\u3059\u30b3\u30de\u30f3\u30c9<\/p>\n<p>End Sub<\/p>\n<\/blockquote>\n<p>\u3053\u3046\u3044\u3046\u6d41\u308c\u306e\u3088\u3046\u3060\u3002<\/p>\n<p>\u3053\u308c\u3092\u57fa\u672c\u306b\u30de\u30af\u30ed\u3092\u4f5c\u3063\u3066\u3084\u308c\u3070\u826f\u3044\u3002\u554f\u984c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<p>\u2460\u56f36\u3068\u304b\u3044\u3046\u4efb\u610f\u306e\u9078\u629e\u3092\u4f55\u3068\u304b\u3057\u3066\u3084\u3089\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\u30d5\u30a1\u30a4\u30eb\u306b\u3088\u3063\u3066\u56f3\u756a\u53f7\u304c\u7570\u306a\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u2461\u4e00\u679a\u306e\u30b7\u30fc\u30c8\u306b\u8907\u6570\u679a\u306e\u753b\u50cf\u30c7\u30fc\u30bf\u304c\u8cbc\u3089\u308c\u3066\u3044\u308b\u3002\u30eb\u30fc\u30d7\u3067\u51e6\u7406\u3092\u304b\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p><span style=\"color: #ffffff; font-size: 14pt; background-color: #3366ff;\">\u3010\u30ea\u30f3\u30af\u3055\u308c\u305f\u56f3\u30fb\u753b\u50cf\u3092\u524a\u9664\u3059\u308bExcel\u30de\u30af\u30ed\u3092\u3071\u304f\u308b\u306e\u5dfb\u3011<\/span><\/p>\n<p>\u3069\u3061\u3089\u306b\u3057\u3066\u3082\u30ea\u30f3\u30af\u3055\u308c\u305f\u56f3\u3092\u524a\u9664\u3057\u306a\u3044\u3068\u5148\u306b\u9032\u3081\u306a\u3044\u3053\u3068\u306f\u660e\u767d\u3060\u3063\u305f\u306e\u3067\u3001Google\u3055\u3093\u306b\u691c\u7d22\u3057\u3066\u8cb0\u3063\u305f\u3002<\/p>\n<p>\u30d2\u30c3\u30c8\u3057\u307e\u3057\u305f\u3088\uff01<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border: 2px solid black;\" src=\"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2016\/05\/2016-05-19_19-20-15.png?resize=480%2C394\" alt=\"\" width=\"480\" height=\"394\" \/><\/p>\n<p><a href=\"http:\/\/www.relief.jp\/itnote\/archives\/excel-macro-delete-linked-pictures.php\">\u30ea\u30f3\u30af\u3055\u308c\u305f\u56f3\u30fb\u753b\u50cf\u3092\u524a\u9664\u3059\u308bExcel\u30de\u30af\u30ed:\u30a8\u30af\u30bb\u30eb\u30de\u30af\u30ed\u30fbExcel VBA\u306e\u4f7f\u3044\u65b9-Shape\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/a><\/p>\n<p>\u3053\u3044\u3064\u3092\u8d70\u3089\u305b\u308b\u3068\u3001\u30ea\u30f3\u30af\u3055\u308c\u305f\u56f3\u306f\u5168\u90e8\u6d88\u3057\u3066\u304f\u308c\u308b\u5358\u7d14\u306a\u30de\u30af\u30ed\u3067\u3042\u308b\u3002<\/p>\n<p>\u3042\u308a\u304c\u3068\u3046\u30fb\u30fb\u30fb\u3053\u3044\u3064\u3068\u3001\u3055\u3063\u304d\u306e\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u5b8c\u6210\u3055\u305b\u3088\u3046\u3002<\/p>\n<p><span style=\"font-size: 14pt; color: #ffffff; background-color: #3366ff;\">\u3010\u300c\u30ea\u30f3\u30af\u753b\u50cf\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u8cbc\u4ed8\u300d\u30de\u30af\u30ed\u306e\u5b8c\u6210\u3011<\/span><\/p>\n<p>\u7d44\u307f\u8fbc\u3093\u3067\u5207\u3063\u3066\u5f35\u3063\u3066\u4f5c\u3063\u305f\u306e\u304c\u3053\u306e\u30de\u30af\u30ed\u3002\u683c\u597d\u304c\u60aa\u3044\u3051\u3069\u80cc\u306b\u8179\u306f\u4ee3\u3048\u3089\u308c\u306c\u3002<\/p>\n<blockquote>\n<p>Sub \u30ea\u30f3\u30af\u753b\u50cf\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u8cbc\u4ed8()<\/p>\n<p>\u00a0 Dim shp As Shape\u3000\u2190\u306a\u3093\u3060\u308d\u3046\u3053\u308c(\u6065\u305a\u304b\u3057\u3044)<\/p>\n<p>\u00a0 For Each shp In ActiveSheet.Shapes\u3000\u2190\u56f3\u5f62\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3059\u308b\u3002<\/p>\n<p>\u00a0 \u00a0 If shp.Type = msoLinkedPicture Then\u3000\u2190\u3082\u3057\u30ea\u30f3\u30af\u8cbc\u308a\u4ed8\u3051\u306e\u753b\u50cf\u3060\u3063\u305f\u3089\u30fb\u30fb\u30fb<\/p>\n<p>\u00a0 \u00a0 \u00a0 shp.Select\u3000\u2190\u8a8d\u8b58\u3055\u305b\u3066<\/p>\n<p>\u00a0 \u00a0 \u00a0 Selection.Copy\u3000\u2190\u30b3\u30d4\u30fc\u3057\u3066<\/p>\n<p>\u00a0 \u00a0 \u00a0 ActiveSheet.PasteSpecial Format:=&#8221;\u56f3 (JPEG)&#8221;, Link:=False, DisplayAsIcon:= _<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 False\u3000\u2190\u5f62\u5f0f\u3092\u9078\u629e\u3057\u3066\u30ea\u30f3\u30af\u3092\u5207\u3063\u3066\u8cbc\u4ed8<\/p>\n<p>\u00a0 \u00a0 \u00a0 shp.Delete\u3000\u2190\u56f3\u306f\u524a\u9664<\/p>\n<p>\u00a0 \u00a0 End If<\/p>\n<p>\u00a0 Next\u3000\u2190\u7d42\u308f\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3057<\/p>\n<p>End Sub<\/p>\n<\/blockquote>\n<p>\u306f\u3044\u3002\u3067\u304d\u3042\u304c\u308a\u3002Excel\u306e\u30de\u30af\u30ed\u3063\u3066\u3057\u3087\u307c\u304f\u3066\u3082\u7d50\u69cb\u697d\u3057\u3044\u3002<\/p>\n<p>\u3058\u3083\u3042300\u30d5\u30a1\u30a4\u30eb\u3084\u3063\u3061\u3083\u3044\u307e\u3057\u3087\u3046\u3002\u3010\u5b8c\u3011<\/p>\n<p><span style=\"color: #ffffff; font-size: 14pt; background-color: #3366ff;\">\u3010\u8ffd\u8a18\u3011<\/span><\/p>\n<p>\u5148\u4eba\u304c\u540c\u3058\u3053\u3068\u3092\u3084\u3063\u3066\u304a\u3089\u308c\u307e\u3057\u305f\u3002\u00a0<\/p>\n<p>\u00a0<img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border: 2px solid black;\" src=\"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2016\/05\/2016-05-19_19-33-02.png?resize=480%2C229\" alt=\"\" width=\"480\" height=\"229\" \/><\/p>\n<p><a href=\"http:\/\/carbikemusic.blog.fc2.com\/blog-entry-14.html\">Excel2010\u3067Pictures.Insert\u30e1\u30bd\u30c3\u30c9\u3067\u753b\u50cf\u8cbc\u3063\u305f\u3089\u30ea\u30f3\u30af\u304c\u4ed8\u304f\u4e0d\u5177\u5408\u306e\u5bfe\u8c61\u6cd5 &#8211; \u8eca\u3068\u30d0\u30a4\u30af\u3068\u4eba\u751f\u3068<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u304a\u3058\u3055\u3093\u3001\u521d\u3081\u3066\u30de\u30af\u30ed\u3092\u4f5c\u308b\u3002\u30bd\u30fc\u30b9\u4e57\u3063\u3051\u3066\u307e\u3059\u3051\u3069\u3001\u8cac\u4efb\u306f\u8ca0\u308f\u306a\u3044\u3067\u3059\u3088\u3002\u4e00\u5fdc\u79c1\u306e\u74b0\u5883\u3067\u306f\u4f7f\u3048\u307e\u3057\u305f\u3002 \u3010\u539f\u70b9\u306b\u623b\u308b\u3011 \u3053\u306e\u554f\u984c\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306a\u3093\u3060\u304c\u3001\u4f5c\u3063\u305f\u30d1\u30bd\u30b3\u30f3\u3067\u306a\u3089\u753b\u50cf\u304c\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"_lightning_design_setting":[],"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2,21],"tags":[],"class_list":["post-8941","post","type-post","status-publish","format-standard","hentry","category-topic","category-21"],"nelio_content":{"autoShareEndMode":"never","automationSources":{"useCustomSentences":false,"customSentences":[]},"efiAlt":"","efiUrl":"","followers":[],"highlights":[],"isAutoShareEnabled":true,"networkImageIds":[],"permalinkQueryArgs":[],"series":[],"suggestedReferences":[]},"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_publicize_connections":[],"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/posts\/8941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8941"}],"version-history":[{"count":0,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/posts\/8941\/revisions"}],"wp:attachment":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}