{"id":4643,"date":"2014-07-24T10:14:35","date_gmt":"2014-07-24T01:14:35","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=4643"},"modified":"2014-07-24T10:47:21","modified_gmt":"2014-07-24T01:47:21","slug":"excel-2013%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%ab%e6%97%a5%e8%8b%b1%e6%af%94%e8%bc%83%e8%a1%a8","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=4643","title":{"rendered":"[Office 2013]\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u65e5\u82f1\u6bd4\u8f03\u8868"},"content":{"rendered":"<p>\u65e5\u672c\u8a9e\u7248\u3068\u82f1\u8a9e\u7248\u306eOffice 2013\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(\u30b3\u30de\u30f3\u30c9)\u540d\u3084\u305d\u306e\u8aac\u660e\u304c\u3069\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u3001\u6bd4\u8f03\u8868\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><textarea id=\"selarea\" cols=\"70\" rows=\"5\" maxlength=\"20\" placeholder=\"\u9078\u629e\u7bc4\u56f2\u304c\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30ea\u30b9\u30c8\u5185\u306e\u6587\u5b57\u5217\u3092\u30b3\u30d4\u30fc\u3059\u308b\u5834\u5408\u306f\u3053\u3061\u3089\u304b\u3089\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\" onclick=\"this.focus();this.select();\"><\/textarea><\/p>\n<div id=\"myExcelDiv\" style=\"width:550px;height:600px;\"><\/div>\n<p><script type=\"text\/javascript\" src=\"http:\/\/r.office.microsoft.com\/r\/rlidExcelWLJS?v=1&#038;kip=1\"><\/script><br \/>\n<script type=\"text\/javascript\">\n    var fileToken = \"SD92A165759188B352!1549\/-7880906317294423214\/\";\n    var rows;\n    var columns;<\/p>\n<p>    if (window.attachEvent) {\n        window.attachEvent(\"onload\", loadEwaOnPageLoad);\n    } else {\n        window.addEventListener(\"DOMContentLoaded\", loadEwaOnPageLoad, false);\n    }<\/p>\n<p>    function loadEwaOnPageLoad() {\n        var props = {\n            uiOptions: {\n                showGridlines: true,\n                showRowColumnHeaders: true,\n                showParametersTaskPane: true\n            },\n            interactivityOptions: {\n                allowTypingAndFormulaEntry: false,\n                allowParameterModification: false,\n                allowSorting: true,\n                allowFiltering: true,\n                allowPivotTableInteractivity: false\n            }\n        };<\/p>\n<p>        Ewa.EwaControl.loadEwaAsync(fileToken, \"myExcelDiv\", props, onEwaLoaded);\n    }<\/p>\n<p>    function onEwaLoaded(result) {\n        ewa = Ewa.EwaControl.getInstances().getItem(0);\n        ewa.add_activeSelectionChanged(selectionChanged);\n    }<\/p>\n<p>    function selectionChanged(rangeArgs) {\n        var r = rangeArgs.getRange();\n        rows = r.getRowCount();\n        columns = r.getColumnCount();\n        r.getValuesAsync(0, getRangeValues, null);\n    }<\/p>\n<p>    function getRangeValues(asyncResult) {\n        var v;\n        var dat = \"\";\n        if (asyncResult.getCode() == 0) {\n            for (var i=0; i < rows; i++) {\n                for (var j=0; j < columns; j++) {\n                    v = \"\" + asyncResult.getReturnValue()[i][j];\n                    if (v.length > 0) {\n                        \/\/alert(v);\n                        dat = dat + asyncResult.getReturnValue()[i][j] + \"\\n\";\n                    }\n                }\n            }\n            document.getElementById(\"selarea\").value = dat;\n        }\n    }\n<\/script><\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b \u4e0a\u8a18Excel\u30c7\u30fc\u30bf\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u306f<a href=\"https:\/\/onedrive.live.com\/redir?resid=92A165759188B352%211549\" title=\"Office2013_ControlComparisonTables.xlsx\" target=\"_blank\">\u30b3\u30c1\u30e9<\/a>\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"\u65e5\u672c\u8a9e\u7248\u3068\u82f1\u8a9e\u7248\u306eOffice 2013\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(\u30b3\u30de\u30f3\u30c9)\u540d\u3084\u305d\u306e\u8aac\u660e\u304c\u3069\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u3001\u6bd4\u8f03\u8868\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u203b \u4e0a\u8a18Excel\u30c7\u30fc\u30bf\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u30b3\u30c1\u30e9\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067 [&hellip;]","protected":false},"author":1,"featured_media":7111,"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":[4,48,79,41],"tags":[],"class_list":["post-4643","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office","category-office2013","category-excel-services-ecmascript"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Excel.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1cT","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4643","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=4643"}],"version-history":[{"count":9,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4643\/revisions"}],"predecessor-version":[{"id":4653,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4643\/revisions\/4653"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7111"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}