<?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>
    <anon>作ってみた</anon>
    <anon>クラスモジュール</anon>
    <anon>ユーザー定義関数</anon>
    <anon>算数パズル</anon>
  </categories>
  <description>昨日は、数独をＶＢＡで解くコードに新たなロジックを追加してみた。 infoment.hatenablog.com 今日は、答えが出るまで繰り返し処理を行わせることに挑戦する。 単純に繰り返すなら、For ~ Next ループが手っ取り早い。 Sub Sample() Dim i As Long For i = 1 To 10 Call 何某かの処理 Next End Sub この方法の場合、ループ変数ｉは、何某かの処理と全く無関係でも構わない。でも今回は、再帰呼び出しで行ってみた。 まず、総処理数を数えるために、カウンターを一つ準備する。加えて、最大処理数用にも変数を準備。 ' モジュールレベ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F05%2F05%2F161117&quot; title=&quot;数独をＶＢＡで解いてみる ④ - 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/20190505/20190505153730.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-05 16:11:17</published>
  <title>数独をＶＢＡで解いてみる ④</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/05/05/161117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
