<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Z1000S</author_name>
  <author_url>https://blog.hatena.ne.jp/Z1000S/</author_url>
  <blog_title>空腹おやじのログと備忘録</blog_title>
  <blog_url>https://z1000s.hatenablog.com/</blog_url>
  <categories>
    <anon>VBA</anon>
    <anon>プログラミング</anon>
    <anon>配列</anon>
    <anon>Redim</anon>
  </categories>
  <description>SafeArrayRedim を使うと、 非配列のVariant型変数に格納した配列でも、LBoundとかElementsとかの変更ができる。だまって、 ReDim Preserve v(2 To 4) とかすればいいんだけど・・・ ソース Private Type SAFEARRAYBOUND cElements As Long lLbound As Long End Type Private Declare Function SafeArrayRedim Lib &quot;OleAut32&quot; (ByVal psa As Long, ByRef psaboundNew As SAFEARRAYBOU…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fz1000s.hatenablog.com%2Fentry%2F2019%2F12%2F06%2F233618&quot; title=&quot;【VBA】非配列のVariant型変数に格納した配列のLBoundや要素数を変えてみた - 空腹おやじのログと備忘録&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/Z/Z1000S/20191206/20191206233348.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-06 23:36:18</published>
  <title>【VBA】非配列のVariant型変数に格納した配列のLBoundや要素数を変えてみた</title>
  <type>rich</type>
  <url>https://z1000s.hatenablog.com/entry/2019/12/06/233618</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
