{"id":14892,"date":"2022-09-10T10:00:54","date_gmt":"2022-09-10T01:00:54","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=14892"},"modified":"2022-09-10T11:03:06","modified_gmt":"2022-09-10T02:03:06","slug":"office-scripts%e6%97%a5%e4%bb%98%e5%8d%b0%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=14892","title":{"rendered":"[Office Scripts]\u65e5\u4ed8\u5370\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u4e0b\u8a18\u8a18\u4e8b\u300cOffice \u30b9\u30af\u30ea\u30d7\u30c8\u3068Power Automate\u3067\u4f5c\u308b\u898b\u7a4d\u66f8\u767a\u884c\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u300d\u3092\u3054\u89a7\u306b\u306a\u3063\u305f\u65b9\u304b\u3089\u3001<i>\u300c\u65e5\u4ed8\u5370\u306e\u65e5\u4ed8\u90e8\u5206\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u304b\uff1f\u300d<\/i>\u3068\u306e\u3054\u8cea\u554f\u3092\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=13601\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeScripts-120x120.jpg' alt='Office \u30b9\u30af\u30ea\u30d7\u30c8\u3068Power Automate\u3067\u4f5c\u308b\u898b\u7a4d\u66f8\u767a\u884c\u30ef\u30fc\u30af\u30d5\u30ed\u30fc' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2021.06.07<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=13601\">Office \u30b9\u30af\u30ea\u30d7\u30c8\u3068Power Automate\u3067\u4f5c\u308b\u898b\u7a4d\u66f8\u767a\u884c\u30ef\u30fc\u30af\u30d5\u30ed\u30fc <\/a><\/div><div class=\"cardlink_excerpt\">\u5148\u65e5\u958b\u50ac\u3055\u308c\u305f\u300c\u7b2c3\u56de Japan M365 Dev User Group \u52c9\u5f37\u4f1a\u300d\u3067\u201cOffice \u30b9\u30af\u30ea\u30d7\u30c8\u3068Power Automate\u3067\u4f5c\u308b\u898b\u7a4d\u66f8\u767a\u884c\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u201d\u3068\u984c\u3057\u3066\u3001Office \u30b9\u30af\u30ea\u30d7\u30c8\u3068Power Automate\u3068\u306e\u9023\u643a\u306b\u3064\u3044\u3066\u304a\u8a71\u3057\u3057...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n<p>\u4e0a\u8a18\u8a18\u4e8b\u3067\u306f\u4e8b\u524d\u306b\u5370\u9451\u306e\u753b\u50cf\u3092\u6e96\u5099\u3057\u3066\u304a\u304d(\u65e5\u4ed8\u5370\u3067\u306f\u306a\u304f\u6c0f\u540d\u5370)\u3001Power Automate\u3068Office \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3088\u3063\u3066Excel\u30b7\u30fc\u30c8\u4e0a\u306b\u4f5c\u6210\u3057\u305f\u753b\u50cf\u3092\u633f\u5165\u3059\u308b\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u65e5\u4ed8\u5370\u306e\u5834\u5408\u3060\u3068\u300c<a href=\"http:\/\/hp.vector.co.jp\/authors\/VA041064\/soft\/click_stamper.html\" title=\"Cool Morning Soft\" target=\"_blank\" rel=\"noopener\">\u30af\u30ea\u30c3\u30af\u30b9\u30bf\u30f3\u30d1\u30fc<\/a>\u300d\u7b49\u306e\u30c4\u30fc\u30eb\u3084\u30b5\u30fc\u30d3\u30b9\u3067\u753b\u50cf\u3092\u4f5c\u6210\u3057\u305f\u6642\u70b9\u3067\u65e5\u4ed8\u304c\u56fa\u5b9a\u5316\u3055\u308c\u3066\u3057\u307e\u3046\u308f\u3051\u3067\u3059\u304c\u3001\u3053\u308c\u3092\u51e6\u7406\u65e5\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u308f\u3051\u3067\u3059\u306d\u3002<\/p>\n<p>\u5bfe\u5fdc\u7b56\u3068\u3057\u3066\u306f\u3044\u304f\u3064\u304b\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u4f55\u3089\u304b\u306e\u65b9\u6cd5\u3067\u52d5\u7684\u306b\u5370\u9451\u753b\u50cf\u3092\u4f5c\u6210\u3059\u308b\u3002<\/li>\n<li>\u65e5\u4ed8\u90e8\u5206\u4ee5\u5916\u306e\u5370\u9451\u753b\u50cf\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u3001\u52d5\u7684\u306b\u4f5c\u6210\u3057\u305f\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u3092\u753b\u50cf\u306b\u91cd\u306d\u5408\u308f\u305b\u308b\u3002<\/li>\n<li>\u5370\u9451\u3092\u753b\u50cf\u3067\u306f\u7121\u304f\u3001Excel\u306e\u56f3\u5f62\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u8868\u73fe\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u4f7f\u3044\u52dd\u624b\u306e\u826f\u3044API\u304c\u3042\u308c\u30701.\u306e\u65b9\u6cd5\u304c\u7c21\u5358\u3067\u3059\u304c\u3001Office \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u307f\u3067\u51e6\u7406\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u308b\u30683.\u306e\u65b9\u6cd5\u304c\u73fe\u5b9f\u7684\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nOffice \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u306f\u56f3\u5f62\u3092\u30b7\u30fc\u30c8\u306b\u633f\u5165\u3059\u308b\u305f\u3081\u306e<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.worksheet?WT.mc_id=M365-MVP-4029057&#038;view=office-scripts#excelscript-excelscript-worksheet-addgeometricshape-member(1)\" title=\"ExcelScript.Worksheet interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener\">(Worksheet).addGeometricShape<\/a>\u30e1\u30bd\u30c3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u6280\u8853\u7684\u306b\u306f\u96e3\u3057\u304f\u306a\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u65e5\u4ed8\u5370\u3092\u4f5c\u6210\u3059\u308bOffice \u30b9\u30af\u30ea\u30d7\u30c8<\/h4>\n<p>\u4f5c\u6210\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3001<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.worksheet?WT.mc_id=M365-MVP-4029057&#038;view=office-scripts#excelscript-excelscript-worksheet-addgeometricshape-member(1)\" title=\"ExcelScript.Worksheet interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener\">(Worksheet).addGeometricShape<\/a>\u30e1\u30bd\u30c3\u30c9\u3084<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.worksheet?WT.mc_id=M365-MVP-4029057&#038;view=office-scripts#excelscript-excelscript-worksheet-addline-member(1)\" title=\"ExcelScript.Worksheet interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener\">(Worksheet).addLine<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u5186\u3084\u7dda\u3001\u77e9\u5f62\u3068\u3044\u3063\u305f\u56f3\u5f62\u3092\u8ffd\u52a0\u3057\u3001\u5927\u304d\u3055\u3084\u8272\u3001\u30d5\u30a9\u30f3\u30c8\u7b49\u3092\u8abf\u6574\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p><script src=\"https:\/\/gist.github.com\/kinuasa\/2eae2d19ee6c1eb97ef878774bfe1779.js\"><\/script><\/p>\n<h4 class=\"style4a\">\u5b9f\u884c\u753b\u9762<\/h4>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/OfficeScripts_CreateDateStamp_01.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/OfficeScripts_CreateDateStamp_01.gif\" alt=\"\" width=\"924\" height=\"594\" class=\"alignnone size-full wp-image-14893\" \/><\/a><\/p>\n<div id=\"single_banner_area2\" class=\"clearfix one_banner\">\n<div class=\"single_banner single_banner_left\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u8a18\u4e8b\u4e2d(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5e83\u544a\u30e6\u30cb\u30c3\u30c8) -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-7306936664602087\"\r\n     data-ad-slot=\"5429724765\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<div class=\"single_banner single_banner_right\">\n<a href=\"\" target=\"_blank\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\" \/><\/a>\n<\/div>\n<\/div>\n\n<p>\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u30b3\u30fc\u30c9\u3067\u306f\u5358\u306b\u56f3\u5f62\u3092\u30b7\u30fc\u30c8\u306b\u8ffd\u52a0\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u304c\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/javascript\/api\/office-scripts\/excelscript\/excelscript.shape?WT.mc_id=M365-MVP-4029057&#038;view=office-scripts#excelscript-excelscript-shape-getimageasbase64-member(1)\" title=\"ExcelScript.Shape interface - Office Scripts | Microsoft Docs\" target=\"_blank\" rel=\"noopener\">(Shape).getImageAsBase64<\/a>\u30e1\u30bd\u30c3\u30c9\u3067\u753b\u50cf\u5316\uff06Base64\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u305f\u6587\u5b57\u5217\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u306e\u3067\u3001Power Automate\u3068\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001\u52d5\u7684\u306b\u4f5c\u6210\u3057\u305f\u900f\u904ePNG\u3092\u4f7f\u7528\u3057\u305f\u51e6\u7406\u3092\u884c\u3063\u305f\u308a\u3001\u5e45\u5e83\u304f\u5fdc\u7528\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">const b64 = shpStamp.getImageAsBase64(ExcelScript.PictureFormat.png);\r\nconsole.log(b64);<\/pre>\n<p>\u307e\u305f\u3001\u5370\u9451\u7528\u56f3\u5f62\u306e\u4f5c\u6210\u306b\u3042\u305f\u3063\u3066\u306f\u3001<a href=\"https:\/\/www.officelabo.net\/\" title=\"\u30a8\u30af\u30bb\u30eb\u7814\u7a76\u5ba4\uff0dExcel\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3001\u5fdc\u7528\u6280\u3092\u7d39\u4ecb\" target=\"_blank\" rel=\"noopener\">NOMBO<\/a>\u6c0f\u304c\u958b\u767a\u3055\u308c\u305f\u300c<a href=\"https:\/\/soft.officelabo.net\/soft10.html\" title=\"Excel\u96fb\u5b50\u5370\u9451\" target=\"_blank\" rel=\"noopener\">Excel\u96fb\u5b50\u5370\u9451<\/a>\u300d\u3067\u4f5c\u6210\u3057\u305f\u56f3\u5f62\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u3053\u306e\u5834\u3092\u501f\u308a\u3066\u304a\u793c\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u95a2\u9023\u8a18\u4e8b<\/h4>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=12733\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeScripts-120x120.jpg' alt='Office Scripts(Office \u30b9\u30af\u30ea\u30d7\u30c8)\u306e\u8a18\u4e8b\u307e\u3068\u3081' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2020.05.03<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=12733\">Office Scripts(Office \u30b9\u30af\u30ea\u30d7\u30c8)\u306e\u8a18\u4e8b\u307e\u3068\u3081 <\/a><\/div><div class=\"cardlink_excerpt\">\u5f53\u30d6\u30ed\u30b0\u306e\u300cOffice Scripts\u300d\u95a2\u9023\u306e\u8a18\u4e8b\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\r\n\r\n\r\nOffice Scripts\u306e\u57fa\u672c\r\n\u30bb\u30eb\u64cd\u4f5c\r\n\u30b7\u30fc\u30c8\u64cd\u4f5c\r\n\u56f3\u5f62\u30fb\u753b\u50cf\u64cd\u4f5c\r\n\u30c6\u30fc\u30d6\u30eb\u64cd\u4f5c\r\n\u30b0\u30e9\u30d5\u64cd\u4f5c\r\nPower Automate\u9023\u643a\r\n\u305d\u306e\u4ed6\r\n\r\n\r\n\r\n\r\nO...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"\u4e0b\u8a18\u8a18\u4e8b\u300cOffice \u30b9\u30af\u30ea\u30d7\u30c8\u3068Power Automate\u3067\u4f5c\u308b\u898b\u7a4d\u66f8\u767a\u884c\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u300d\u3092\u3054\u89a7\u306b\u306a\u3063\u305f\u65b9\u304b\u3089\u3001\u300c\u65e5\u4ed8\u5370\u306e\u65e5\u4ed8\u90e8\u5206\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u304b\uff1f\u300d\u3068\u306e\u3054\u8cea\u554f\u3092\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002 \u4e0a\u8a18\u8a18\u4e8b\u3067\u306f\u4e8b\u524d\u306b\u5370\u9451 [&hellip;]","protected":false},"author":1,"featured_media":12699,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[[Office Scripts]\u65e5\u4ed8\u5370\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[173],"tags":[],"class_list":["post-14892","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-officescripts"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeScripts.jpg","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-3Sc","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14892"}],"version-history":[{"count":1,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14892\/revisions"}],"predecessor-version":[{"id":14894,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14892\/revisions\/14894"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/12699"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}