<?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>
    <anon>失敗談</anon>
  </categories>
  <description>職場の勉強会で、こんな質問を受けた。 辞書（連想配列）って、（一つのキーにアイテムは）一個しか 登録できないんですか？ 「そうだよ」と答えた後に、ふと思った。それで、試してみた。 Sub DictTest() Dim Dict As Dictionary Set Dict = New Dictionary Dict(&quot;桃太郎&quot;) = Array(&quot;犬&quot;, &quot;猿&quot;, &quot;雉&quot;) MsgBox Dict(&quot;桃太郎&quot;)(1) End Sub 結果は、以下の通り。１番目の「猿」を表示させることが出来た。 （※犬は０番目）。 今まで考えたことも無かったが、辞書のitemには配列も登録できるようだ。知らなか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F02%2F02%2F144422&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/20190202/20190202143923.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-02 14:44:22</published>
  <title>辞書（連想配列）に複数のアイテムを登録できた感じにする</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/02/02/144422</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
