<?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しかし実際、選択肢が綺麗にリスト化されていない場合もある。重複していたり、空白があったり。そこで今回は、それに対応する場合について検討する。 例えば、↓ この範囲をリストに充てたいとする。 このように、範囲全体をリストの範囲に充てると 何度も同じ候補が登場してしまう。 そこで、指定範囲の文字列から重複と空白を除去し、配列を作成するユーザー定義関数を作成する。重複削除のために、今回は辞書（連想配列）を用いる。 Function ListArray(target_range As Range) As …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F06%2F18%2F222403&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/20190618/20190618220421.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-18 22:24:03</published>
  <title>プルダウンリストを作成する　② 重複及び空白を除去</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/06/18/222403</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
