<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-hom</author_name>
  <author_url>https://blog.hatena.ne.jp/t-hom/</author_url>
  <blog_title>t-hom’s diary</blog_title>
  <blog_url>https://thom.hateblo.jp/</blog_url>
  <categories>
    <anon>VBA</anon>
  </categories>
  <description>Excelでは色んな方法でカレンダーを作ることができるが、割と面倒くさい。今回はイミディエイトウインドウを使って、以下のようなカレンダーをサクっと作る方法を紹介。 まず、曜日を描きたい場所を範囲選択しておく。 そしてイミディエイトウインドウで次のコードを順に実行する。 n = 1 for each r in selection:r.value = format(n,&quot;aaa&quot;):n=n+1:next これで曜日の出来上がり。 次に、下図のように選択する。(選択を開始する位置は、その月の1日の曜日) やり方は、Ctrlキーは選択がすべて終わるまで押しっぱなしで、各行をマウスドラッグすればOK。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthom.hateblo.jp%2Fentry%2F2019%2F03%2F01%2F031216&quot; title=&quot;VBA イミディエイトウインドウを使って簡単にカレンダーを作る方法 - t-hom’s diary&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/t/t-hom/20190301/20190301023935.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-01 03:12:16</published>
  <title>VBA イミディエイトウインドウを使って簡単にカレンダーを作る方法</title>
  <type>rich</type>
  <url>https://thom.hateblo.jp/entry/2019/03/01/031216</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
