<?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>このような疑問を見かけたので、私なりに考えてみた。 セルに入力された文字を使って、セルに名前を付けることが出来るか。 例えば、Ａ列の文字をそのまま、Ｂ列のセルの名前にすることは出来るだろうか。結論は「出来る」。ただし、ワークシート関数で実現する方法は知らない（あるのかもしれない）。 今回は、マクロで実現してみた。 サンプル１ A列のセルの値を一つずつ取り出して、Ｂ列のセルの名前とする。 Sub Sample_1() Dim SorceRange As Range Set SorceRange = Range(&quot;A1:A5&quot;) Dim DestinationRange As Range Set …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F06%2F07%2F185452&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/20190607/20190607184456.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-07 18:54:52</published>
  <title>セルに入力された文字を使って、セルに名前を付けてみる。</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/06/07/185452</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
