{"categories":["ruby","WIN32OLE","Excel"],"author_url":"https://blog.hatena.ne.jp/shima111/","provider_name":"Hatena Blog","author_name":"shima111","height":"190","blog_url":"https://shima111.hatenadiary.org/","image_url":null,"published":"2013-10-20 00:00:00","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshima111.hatenadiary.org%2Fentry%2F20131020%2Fp1\" title=\" Excel\u3092\u7d42\u4e86\u3055\u305b\u308b\u65b9\u6cd5 - shima111\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" Excel\u3092\u7d42\u4e86\u3055\u305b\u308b\u65b9\u6cd5","width":"100%","url":"https://shima111.hatenadiary.org/entry/20131020/p1","blog_title":"shima111\u306e\u65e5\u8a18","description":"ruby\u304b\u3089OLE\u7d4c\u7531\u3067Excel\u3092\u64cd\u4f5c\u3059\u308b\u306e\u306f\u3053\u3061\u3089\u3092\u53c2\u8003\u306b http://magazine.rubyist.net/?0004-Win32OLE\u554f\u984c\u306fQuit\u3057\u3066\u3082Excel\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u6b8b\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u3002irb\u3067\u5b9f\u884c\u3059\u308c\u3070\u308f\u304b\u308b\u3051\u3069 require 'win32ole' xl = WIN32OLE.new('Excel.Application') book = xl.Workbooks.Open(\"c:/a.xls\") book.Close(false) xl.Quit sleep(10) \u3067\u3001\u30bf\u30b9\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u3067\u30d7\u30ed\u30bb\u30b9\u4e00\u89a7\u3092\u898b\u3066\u307f\u308b\u3068EXCEL.EXE\u304c\u6b8b\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3002 ruby\u2026","type":"rich","provider_url":"https://hatena.blog"}