<?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>前回はトランプを使ってマージソートを説明した。 thom.hateblo.jp今回は実際にVBAでマージソートを書いてみる。目次 準備 分割するコード マージするコード 完成コードの全体 ソートの呼び出しコード マージソート本体 ソートのテストコード マージソートの存在意義 準備 まずはソートの対象を用意しないといけないので、配列を作ることにした。 Sub MStart() '配列Arrの準備 Dim Arr() As Long Const Min = 1, Max = 10 ReDim Arr(Min To Max) End Sub 後から配列の数を変更できるように動的配列として、ReDim…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthom.hateblo.jp%2Fentry%2F2016%2F03%2F21%2F120449&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>http://cdn-ak.f.st-hatena.com/images/fotolife/t/t-hom/20160321/20160321102446.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-21 12:04:49</published>
  <title>VBA マージソートの実装と図解</title>
  <type>rich</type>
  <url>https://thom.hateblo.jp/entry/2016/03/21/120449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
