<?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>配列</anon>
  </categories>
  <description>動的配列を宣言する時はどうしていますか？ Dim Var() as variant Redim Var(1 to 3) 上記のように変数名の後に（）をつけて宣言し、 Redimで要素数を指定してから使用するのではないでしょうか。 しかし今回長年見慣れたこの方法とは違う宣言方法に出会いました。 （）なしで動的配列宣言（の準備） （）なしでVariant型の動的配列を宣言する方法です。 Dim Var as variant 手元にあるExcel VBAの本を調べても（）なしで宣言しているものはありませんでした。 自分も今まで動的配列を宣言する場合は（）をつけていました。 では（）を付ける場合・付け…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.excellovers.com%2Fentry%2Fdynamicarray01&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/20200103/20200103195539.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-03 20:15:00</published>
  <title>一風変わった？動的配列の宣言方法</title>
  <type>rich</type>
  <url>https://www.excellovers.com/entry/dynamicarray01</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
