<?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>↓ このようなお題をいただいたので、挑戦してみた。 データをランダムに並べ替えてください。 今回の作戦は、こんな感じだ。 1. 並び変え用の通し番号を格納した、連想配列を作成する。 2. １～１５の中から一つ、無作為に自然数を取得する。 取得は、RANDBETWEEN関数を使用する。 今回は、例えば「9」を取得したとする。 3. ９番目のkeyの値「9」を用いて並べ替え。 元の配列の９番目の値を、並べ替え後の１番にセットする。 4. 辞書の９番目を除去（REMOVE）する。 このとき、辞書の「何番目」は繰り上がるが、key情報で見た場合 ９は欠番となる。 5. 以降、2～4 の繰り返し。 ただ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2021%2F05%2F08%2F224109&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/20210508/20210508221959.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-08 22:41:09</published>
  <title>連想配列を用いた無作為な並べ替え</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2021/05/08/224109</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
