<?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>配列の行または列の切り出しについて、知識があいまいなまま使っていた。 確認してみよう。 Excel VBAにおいて二次元配列の一次元目を行、二次元目を列に準えるとき、 配列のｒ行ｃ列目の値は以下の式で取得できる。 WorksheetFunction.Index(配列, 行番号ｒ, 列番号ｃ) ここで、例えば行番号に２を指定し、列番号を０とすると、 ２行目全体を配列として切り出すことが出来る。そこで、次のようなテスト用サブプロシージャを作成してみた。 Sub Test1() ' 元の配列。 Dim arr1(2 To 4, 3 To 5) As Variant Dim i As Long Dim…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2020%2F08%2F12%2F104809&quot; title=&quot;配列の行または列を切り出し（Index関数) - 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/20200812/20200812094119.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-12 10:48:09</published>
  <title>配列の行または列を切り出し（Index関数)</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2020/08/12/104809</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
