<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-hom</author_name>
  <author_url>https://blog.hatena.ne.jp/t-hom/</author_url>
  <blog_title>t-hom’s diary</blog_title>
  <blog_url>https://thom.hateblo.jp/</blog_url>
  <categories>
    <anon>VBA</anon>
    <anon>クラスモジュール活用</anon>
  </categories>
  <description>以下のような注文票にマクロでデータを記入することを考えてみる。 人間が記入する場合は、次のように考えながら記入していくだろう。 「注文票の、ひとつ目の商品名は&quot;パソコン&quot;で、単価は10万円、個数は40個。二つ目の商品は&quot;複合機&quot;で、単価は150万円、個数は2個。」これをVBA風に書くと、こうなる。 Sub 注文記入() With 注文票.注文(1) .品名 = &quot;パソコン&quot; .単価 = 100000 .個数 = 40 End With With 注文票.注文(2) .品名 = &quot;複合機&quot; .単価 = 1500000 .個数 = 2 End With End Sub やりたいことがそのまま表記さ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthom.hateblo.jp%2Fentry%2F2016%2F07%2F14%2F215534&quot; title=&quot;VBA インターフェースを活用してコードの抽象度を上げるテクニック - t-hom’s diary&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/t-hom/20160714/20160714200309.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-07-14 21:55:34</published>
  <title>VBA インターフェースを活用してコードの抽象度を上げるテクニック</title>
  <type>rich</type>
  <url>https://thom.hateblo.jp/entry/2016/07/14/215534</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
