<?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>
  </categories>
  <description>昨日は、指定範囲内の文字をランダムに入れ替えてみた。 infoment.hatenablog.com お気づきの方も居られると思うが、昨日のコードには穴がある。選択範囲が飛び飛びの場合、正しく動作しないのだ。 そこで今日は「三つ目のやりたいこと」のために、まずは、選択範囲が飛び飛びでもランダムに移動できるようにする。 まず昨日までのマクロでは、選択範囲の中の各セルを指定するために、Itemプロパティを用いた。エッセンスを抜き出すと、こんな感じだ。 Sub RangeItemTest() Dim i As Long: i = 1 For i = 1 To Selection.Count Sele…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2018%2F12%2F12%2F063000&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/20181211/20181211223422.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-12 06:30:00</published>
  <title>選択範囲が飛び飛びでもランダムに移動できるようにする</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2018/12/12/063000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
