<?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>職場で、このような相談を受けた。 ある表からある帳票に、データを10件ずつ貼り付けたい。 毎回、データ数は異なる。５件の時もあれば、55件の時もある。 パソコンが無かったので、この時はホワイトボードに書いて説明した。 本当にそれでうまくいくか、簡易的に検証してみる。作戦は、こうだ。 転記するデータをまず全て、一つの配列に格納する。 上記配列から、一行ずつスライスして取り出す。 取り出した配列を順次、帳票に貼り付ける。１０件貼り付けた時点で、シートを追加した一行目から貼り付け再開。 上記にのっとって、作成したのがこちら。 Sub Sample() Dim SourceArray() As Var…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F11%2F01%2F235119&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/20191101/20191101233910.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-01 23:51:19</published>
  <title>１０件転記したら、シートを変えて転記再開。</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/11/01/235119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
