<?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>
  </categories>
  <description>週末に職場で、このような課題に直面した。 あるキーワードに併せて、データの入力規則：リストを変更したい。 いつもの「なんちゃって個人情報」を、今回も拝借。 例えば「茨城県」の「名前」を選択したとき、左の表から茨城県の戸塚さんと飯田さんをリスト表示したいのだ。 そこで、月曜日の朝から全開で仕事ができるよう、休みの間に 仕組みだけ作っておくことにした。 マクロを使う、関数を使うなど色々な方法がある中で、今回はこの方式を採用。 件名をkeyに、表示する名前をItemとして、辞書（連想配列）を作成する。 実際の名前セルを選択したとき、SelectionChangeイベントでリスト更新。※更新内容は、1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2020%2F04%2F26%2F221049&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/20200426/20200426214447.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-26 22:10:49</published>
  <title>データの入力規則：リストをキーワードに併せて変更</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2020/04/26/221049</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
