<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>COM</anon>
    <anon>Ruby</anon>
  </categories>
  <description>C で Excel にアクセスするのには COM の invoke を使ってアクセスします。C で書く前に Ruby の invoke メソッドだけを使ってアクセスしてみます。 参考：Win32OLE 活用法 【第 2 回】 Excel COM を学ぶ(5) ： Mingw で MS-Access,SQL server に接続 require 'win32ole' # セルを取得 def cellObject(sheet, y, x) sheet.invoke(&quot;Cells&quot;).invoke(&quot;Item&quot;,y,x) end # マージセルなら1,1のアイテム、通常セルならそのセル # を返す。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100923%2F1285228038&quot; title=&quot;Ruby の invoke メソッドだけで Excel にアクセスする。 - sirocco の書いてもすぐに忘れるメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-09-23 16:47:18</published>
  <title>Ruby の invoke メソッドだけで Excel にアクセスする。</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20100923/1285228038</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
