{"image_url":null,"blog_url":"https://sirocco.hatenadiary.org/","author_name":"sirocco","author_url":"https://blog.hatena.ne.jp/sirocco/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100923%2F1285228038\" title=\"Ruby \u306e invoke \u30e1\u30bd\u30c3\u30c9\u3060\u3051\u3067 Excel \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Ruby \u306e invoke \u30e1\u30bd\u30c3\u30c9\u3060\u3051\u3067 Excel \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002","version":"1.0","published":"2010-09-23 16:47:18","categories":["COM","Ruby"],"provider_url":"https://hatena.blog","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","provider_name":"Hatena Blog","width":"100%","height":"190","description":"C \u3067 Excel \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u306b\u306f COM \u306e invoke \u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002C \u3067\u66f8\u304f\u524d\u306b Ruby \u306e invoke \u30e1\u30bd\u30c3\u30c9\u3060\u3051\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3059\u3002 \u53c2\u8003\uff1aWin32OLE \u6d3b\u7528\u6cd5 \u3010\u7b2c 2 \u56de\u3011 Excel COM \u3092\u5b66\u3076(5) \uff1a Mingw \u3067 MS-Access,SQL server \u306b\u63a5\u7d9a require 'win32ole' # \u30bb\u30eb\u3092\u53d6\u5f97 def cellObject(sheet, y, x) sheet.invoke(\"Cells\").invoke(\"Item\",y,x) end # \u30de\u30fc\u30b8\u30bb\u30eb\u306a\u30891,1\u306e\u30a2\u30a4\u30c6\u30e0\u3001\u901a\u5e38\u30bb\u30eb\u306a\u3089\u305d\u306e\u30bb\u30eb # \u3092\u8fd4\u3059\u3002\u2026","url":"https://sirocco.hatenadiary.org/entry/20100923/1285228038"}