<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ExcelLover</author_name>
  <author_url>https://blog.hatena.ne.jp/ExcelLover/</author_url>
  <blog_title>Excelが大好きだ！</blog_title>
  <blog_url>https://www.excellovers.com/</blog_url>
  <categories>
    <anon>VBA</anon>
  </categories>
  <description>要はタイトルのようなミスをやらかしてドツボにはまってしまった時のお話です。 なぜなんだ？と首をひねり過ぎて疲れてしまったので、同じことをやらかさないようにするための備忘録 プロシージャレベル優先？ やらかしてしまった状態を極限まで簡素化したのが以下の状態。 Option Explicit Const BookPath As String = &quot;C:\Users\XXXXX\Desktop\AAA.xlsx&quot; Sub TEST1() Dim BookPath As String BookPath = ThisWorkbook.Path &amp; &quot;\ZZZ.xlsx&quot; MsgBox BookPath …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.excellovers.com%2Fentry%2Fdimconst&quot; title=&quot;定数と変数で同じ名前をつけた(重複した)場合の挙動 - Excelが大好きだ！&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/E/ExcelLover/20181028/20181028112544.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-05 08:00:00</published>
  <title>定数と変数で同じ名前をつけた(重複した)場合の挙動</title>
  <type>rich</type>
  <url>https://www.excellovers.com/entry/dimconst</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
