{"id":2050,"date":"2012-07-19T17:57:11","date_gmt":"2012-07-19T08:57:11","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=2050"},"modified":"2012-11-01T15:40:08","modified_gmt":"2012-11-01T06:40:08","slug":"javascript%e3%81%a7excel-2013%e7%94%a8%e4%bd%9c%e6%a5%ad%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%81%ae%e3%82%a2%e3%83%97%e3%83%aa%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%e3%80%823","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=2050","title":{"rendered":"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(3)"},"content":{"rendered":"<p><span style=\"color: #ff0000; font-weight: bold;\">2012\/11\/1 \u8ffd\u8a18\uff1a<\/span><br \/>\nOffice 2013 RTM\u30ea\u30ea\u30fc\u30b9\u306b\u4f34\u3044\u3001\u4e0b\u8a18\u8a18\u4e8b\u3067Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u6539\u3081\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30fbOffice\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5<\/strong><br \/>\n<a href=\"\/\/www.ka-net.org\/blog\/?p=2412\" title=\"Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5\" target=\"_blank\">\/\/www.ka-net.org\/blog\/?p=2412<\/a><\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b \u3053\u306e\u60c5\u5831\u306fOffice 2013 \u30ab\u30b9\u30bf\u30de\u30fc \u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u5143\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u88fd\u54c1\u7248\u3067\u306f\u5909\u66f4\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/?p=2022\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)\" target=\"_blank\">\u524d\u56de<\/a>\u306f\u3068\u308a\u3042\u3048\u305a\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306bHTML\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3060\u3051\u3067\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u524d\u56de\u306e\u30d5\u30a1\u30a4\u30eb\u306bJavaScript\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8ffd\u52a0\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<ol type=\"1\">\n<li>Internet Explorer\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30aa\u30d7\u30b7\u30e7\u30f3\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u4fe1\u983c\u6e08\u307f\u30b5\u30a4\u30c8<\/span>\u300d\u306b<a href=\"\/\/www.ka-net.org\/blog\/?p=2022\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)\" target=\"_blank\">\u524d\u56de<\/a>\u306e\u624b\u98061.\u3067\u4f5c\u6210\u3057\u305f\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_01-300x161.jpg\" alt=\"\" title=\"Office2013_11_01\" width=\"300\" height=\"161\" class=\"alignnone size-medium wp-image-2051\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_01-300x161.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_01-290x155.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_01-150x80.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_01.jpg 976w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<li><a href=\"\/\/www.ka-net.org\/blog\/?p=2022\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)\" target=\"_blank\">\u524d\u56de<\/a>\u306e\u624b\u98066.\u3068\u540c\u69d8\u306b\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u4e0b\u8a184\u3064\u306e\u30d5\u30a1\u30a4\u30eb(\u3059\u3079\u3066UTF-8)\u3092\u4f5c\u6210\u3057\u3001\u624b\u98061.\u306e\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/li>\n<p><strong><br \/>\n\u30fbHelloWorld.html<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n        &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot;&gt;\r\n        &lt;link rel=&quot;stylesheet&quot; type=&quot;text\/css&quot; href=&quot;program.css&quot;&gt;\r\n        &lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.7.2\/jquery.min.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script src=&quot;https:\/\/az88874.vo.msecnd.net\/api\/1.0\/office.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script src=&quot;HelloWorld.js&quot;&gt;&lt;\/script&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;input id=&quot;btnHelloWorld&quot; type=&quot;button&quot; value=&quot;OK&quot;&gt;\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p><strong>\u30fbprogram.css<\/strong><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">body\r\n{\r\n    position:relative;\r\n}\r\nli :hover\r\n{  \r\n    text-decoration: underline;\r\n    cursor:pointer;\r\n}\r\nh1,h3,h4,p,a,li\r\n{\r\n    font-family: &quot;Segoe UI Light&quot;,&quot;Segoe UI&quot;,Tahoma,sans-serif;\r\n    text-decoration-color:#4ec724;\r\n}<\/pre>\n<p><strong>\u30fbHelloWorld.xml<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;OfficeApp xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/appforoffice\/1.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:type=&quot;TaskPaneApp&quot;&gt;\r\n  &lt;Id&gt;dc0b801d-f0ba-4045-b260-09d3729e6ea1&lt;\/Id&gt;\r\n  &lt;Version&gt;1.0&lt;\/Version&gt;\r\n  &lt;ProviderName&gt;kinuasa&lt;\/ProviderName&gt;\r\n  &lt;DefaultLocale&gt;en-US&lt;\/DefaultLocale&gt;\r\n  &lt;DisplayName DefaultValue=&quot;HelloWorld&quot; \/&gt;\r\n  &lt;Description DefaultValue=&quot;My first app.&quot;\/&gt;\r\n  &lt;IconUrl DefaultValue=&quot;http:\/\/officeimg.vo.msecnd.net\/_layouts\/images\/general\/office_logo.jpg&quot; \/&gt;\r\n  &lt;Capabilities&gt;\r\n    &lt;Capability Name=&quot;Workbook&quot; \/&gt;\r\n  &lt;\/Capabilities&gt;\r\n  &lt;DefaultSettings&gt;\r\n    &lt;SourceLocation DefaultValue=&quot;\\\\XXXX\\Apps\\HelloWorld.html&quot; \/&gt;\r\n  &lt;\/DefaultSettings&gt;\r\n  &lt;Permissions&gt;ReadWriteDocument&lt;\/Permissions&gt;\r\n&lt;\/OfficeApp&gt;<\/pre>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b HelloWorld.xml\u306eSourceLocation\u8981\u7d20\u306eDefaultValue\u5c5e\u6027\u306e\u5024\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3057\u305f\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><strong>\u30fbHelloWorld.js<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\/\/ Add any initialization logic to this function.\r\nOffice.initialize = function (reason) {\r\n    $(document).ready(function () {\r\n        $(&quot;#btnHelloWorld&quot;).click(function () { Office.context.document.setSelectedDataAsync('Hello world!!'); });\r\n    });\r\n}<\/pre>\n<li>Excel\u3092\u8d77\u52d5\u3057\u3001Office \u7528\u30a2\u30d7\u30ea\u300c<strong>HelloWorld<\/strong>\u300d\u3092\u633f\u5165\u3057\u307e\u3059(<span style=\"color: #ff0000; font-weight: bold;\">\u203b \u30a2\u30d7\u30ea\u306e\u8a2d\u5b9a\u30fb\u633f\u5165\u65b9\u6cd5\u306f<a href=\"\/\/www.ka-net.org\/blog\/?p=2022\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)\" target=\"_blank\">\u524d\u56de\u306e\u30da\u30fc\u30b8<\/a>\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044<\/span>)\u3002<\/li>\n<li>\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u300c<span style=\"color: #ff0000; font-weight: bold;\">OK<\/span>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u9078\u629e\u30bb\u30eb\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">Hello world!!<\/span>\u300d\u3068\u5165\u529b\u3055\u308c\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_02-300x226.jpg\" alt=\"\" title=\"Office2013_11_02\" width=\"300\" height=\"226\" class=\"alignnone size-medium wp-image-2052\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_02-300x226.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_02-290x218.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_02-150x113.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_11_02.jpg 812w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<\/ol>\n<p>\u4ee5\u4e0a\u306e\u624b\u9806\u3067JavaScript\u306e\u30b3\u30fc\u30c9\u304c\u52d5\u4f5c\u3059\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u8a18\u4e8b\u3092\u66f8\u304f\u306b\u3042\u305f\u3063\u3066\u3001\u6700\u521dInternet Explorer\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u305f\u3081\u306b\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u305a\u3001\u7d50\u69cb\u30cf\u30de\u308a\u307e\u3057\u305f\u2026\u3002<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">2012\/07\/19\u3000\u8ffd\u8a18\uff1a<\/span><br \/>\n\u5225\u306e\u74b0\u5883\u3067\u8a66\u3057\u305f\u3068\u3053\u308d\u3001\u300c<strong>\u4fe1\u983c\u6e08\u307f\u30b5\u30a4\u30c8<\/strong>\u300d\u306b\u8ffd\u52a0\u3057\u306a\u304f\u3066\u3082\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002\u307e\u305a\u306f\u30b3\u30fc\u30c9\u3092\u52d5\u304b\u3057\u3066\u307f\u3066\u3001\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408\u306f\u4fe1\u983c\u6e08\u307f\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0\u3057\u3066\u307f\u308b\u3001\u3068\u3044\u3046\u3084\u308a\u65b9\u306b\u3057\u305f\u65b9\u304c\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<h4>\u25a0 \u95a2\u9023Web\u30da\u30fc\u30b8\uff1a<\/h4>\n<p><strong>\u30fbJavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002<\/strong><br \/>\n<a href=\"\/\/www.ka-net.org\/blog\/?p=1995\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002\" target=\"_blank\">\/\/www.ka-net.org\/blog\/?p=1995<\/a><br \/>\n<strong>\u30fbJavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)<\/strong><br \/>\n<a href=\"\/\/www.ka-net.org\/blog\/?p=2022\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)\" target=\"_blank\">\/\/www.ka-net.org\/blog\/?p=2022<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"2012\/11\/1 \u8ffd\u8a18\uff1a Office 2013 RTM\u30ea\u30ea\u30fc\u30b9\u306b\u4f34\u3044\u3001\u4e0b\u8a18\u8a18\u4e8b\u3067Office\u7528\u30a2\u30d7\u30ea(apps for Office)\u306e\u6982\u8981\u3068\u958b\u767a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u6539\u3081\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002 \u30fbOffice\u7528\u30a2\u30d7\u30ea(apps [&hellip;]","protected":false},"author":1,"featured_media":7119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"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}},"categories":[130,4,79],"tags":[74,77],"class_list":["post-2050","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-office2013","tag-office-2013","tag-apps-for-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-x4","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2050","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=2050"}],"version-history":[{"count":10,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2050\/revisions"}],"predecessor-version":[{"id":2060,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2050\/revisions\/2060"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7119"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}