<?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>
  </categories>
  <description>プログラムを書いていて、Aが1で、かつBも1ならば処理を実行するというようなケースが時折発生する。これを素直に書くとこういうコードになる。 If A = 1 And B = 1 Then MsgBox &quot;処理&quot; End If しかし、さらにCやDも増えたらだんだん冗長なコードになってくる。 If A = 1 And B = 1 And C = 1 And D = 1 Then MsgBox &quot;処理&quot; End If また、現実のコードは大抵、ABCなんていうシンプルなものではない。 If Range(&quot;A1&quot;).Value = Arr(10) And Range(&quot;A1&quot;).Value = ナン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthom.hateblo.jp%2Fentry%2F2016%2F01%2F28%2F221307&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-28 22:13:07</published>
  <title>VBA 任意個の引数が全て同じ値かどうかを判定する関数を作る</title>
  <type>rich</type>
  <url>https://thom.hateblo.jp/entry/2016/01/28/221307</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
