<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>deloreanmc12</author_name>
  <author_url>https://blog.hatena.ne.jp/deloreanmc12/</author_url>
  <blog_title>3流プログラマのメモ書き</blog_title>
  <blog_url>https://3ryupg.hatenablog.com/</blog_url>
  <categories>
    <anon>VBA、マクロ</anon>
  </categories>
  <description>Excelでワークシートを複数コピーして、名前を変更し、セルに値を入れるサンプル(SheetCopyプロシージャ)です。 シート名は、For分のループ変数を使います。 また、SheetDelプロシージャはシートの削除を行ってます。 Public Const sBaseSheet = &quot;Sheet1&quot; Public Const iMaxSheet = 4 Sub SheetCopy() 'ループ変数 Dim i As Integer i = 0 Dim rng As Range 'コピー元のシートを選択 Worksheets(&quot;Sheet1&quot;).Select '削除時の確認メッセージをOFFに …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F3ryupg.hatenablog.com%2Fentry%2F2011%2F10%2F27%2F234500&quot; title=&quot;(VBA)Excelでシートをコピー・削除 - 3流プログラマのメモ書き&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-10-27 23:45:00</published>
  <title>(VBA)Excelでシートをコピー・削除</title>
  <type>rich</type>
  <url>https://3ryupg.hatenablog.com/entry/2011/10/27/234500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
