<?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>VBA</anon>
  </categories>
  <description>VBAには3種類のプロシージャがある。SubとFunctionとPropertyだ。 しかしその守備範囲はキッチリ線引きされているわけではなく、使い分けに困る場面がある。今回はその使い分けのヒントとなる考え方を紹介する。なお、3種類と書いたがProperty にはLet・Set・Getがあるので実際には5種類になる。 このうちLetとSetはいずれも値を設定するという目的が同じなのでひとまとめに扱うことにする。私がプロシージャを使い分ける際に考えていることを以下2つの表にまとめた。 表が2つあるのは、何のためのプロシージャか(What)と、どのようなプロシージャか(How)の2つの観点で考える…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthom.hateblo.jp%2Fentry%2F2018%2F05%2F27%2F221437&quot; title=&quot;VBA SubとFunctionとPropertyの使い分け - 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/20180527/20180527212534.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-27 22:14:37</published>
  <title>VBA SubとFunctionとPropertyの使い分け</title>
  <type>rich</type>
  <url>https://thom.hateblo.jp/entry/2018/05/27/221437</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
