<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Infoment</author_name>
  <author_url>https://blog.hatena.ne.jp/Infoment/</author_url>
  <blog_title>Infomentのブログ ～Excel VBA奮闘記～</blog_title>
  <blog_url>https://infoment.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
  </categories>
  <description>昨日の空手の順位算出は、現在試行錯誤中。なので、今日は閑話休題で別のお話。職場のマクロ勉強会で、以下を組み合わせて使う場合を説明する機会があった。 Do ～ Loop ⇒ 条件が分かっている時 For ～ Next ⇒ 総数が分かっている時 参考までに紹介すると、こんな感じだ。 とあるマンションの住人について名簿を作成する。 このマンションは10階建てで、各階に20部屋ある。 各部屋を訪ね、そこに住んでいる全員を記録する。 マンションの階数と部屋数は、総数が分かっている。 従って、For ～ Next が適している。各部屋には、何人住んでいるか分からない。 従って、Do ～ Loop が適して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2018%2F11%2F09%2F224635&quot; title=&quot;Do ～ Loop と For ～ Next について - Infomentのブログ ～Excel VBA奮闘記～&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/I/Infoment/20181109/20181109221150.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-09 22:46:35</published>
  <title>Do ～ Loop と For ～ Next について</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2018/11/09/224635</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
