<?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>
  </categories>
  <description>昨日はトーナメント表作成において、なるべく全大会の入賞者が初戦で ぶつからないよう、良い感じに分散させることに挑戦した。 infoment.hatenablog.com しかしそうは言っても、完全ランダムで配置したいこともあるだろう。 ということで今日は、配列をランダムに並べ替えることに挑戦する。 実は今までにも、何度か挑戦したことがあった。そのときの作戦はこうだ。 例）1～32をランダムな順序で配列に格納したい。 辞書２を作成する。辞書２のkeyおよびitemには順に1～32をセットしておく。 1～32の数字を乱数で作成する。 作成した数字が辞書２のキーに存在するか、評価する。存在する場合、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2022%2F12%2F07%2F234458&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/20221207/20221207230658.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-07 23:44:58</published>
  <title>再びトーナメント表作成 ③ 順番をランダムに並べ替えたい－１</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2022/12/07/234458</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
