<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>LimeCode</author_name>
  <author_url>https://blog.hatena.ne.jp/LimeCode/</author_url>
  <blog_title>和風スパゲティのレシピ</blog_title>
  <blog_url>https://www.limecode.jp/</blog_url>
  <categories>
    <anon>配列(Array)</anon>
    <anon>サンプルコード</anon>
    <anon>シート関数・VBA関数</anon>
    <anon>Dictionary</anon>
    <anon>VBA</anon>
  </categories>
  <description>一次元配列から重複を削除する方法を解説します。Excel365、Excel2021以降のバージョンであれば、 WorksheetFunction.Uniqueを使用するのが簡単です。 旧バージョンとの互換性やその他カスタマイズを行いたい場合は、 Dictionaryオブジェクトを使用して重複を削除します。 WorksheetFunction.Unique サンプルコード Dim Arr元配列 As Variant Arr元配列 = Array(&quot;みかん&quot;, &quot;りんご&quot;, &quot;いちご&quot;, &quot;みかん&quot;, &quot;りんご&quot;) ' UNIQUE関数を使って重複を削除した配列を生成 Dim Arrユニーク化配列…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.limecode.jp%2Fentry%2Futility%2Funique-array-worksheetfunction--dictionary&quot; title=&quot;配列から重複を削除する - Unique/Dictionary - 和風スパゲティのレシピ&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/L/LimeCode/20260812/20260812234635.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-08-12 23:51:56</published>
  <title>配列から重複を削除する - Unique/Dictionary</title>
  <type>rich</type>
  <url>https://www.limecode.jp/entry/utility/unique-array-worksheetfunction--dictionary</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
