<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ycloud</author_name>
  <author_url>https://blog.hatena.ne.jp/ycloud/</author_url>
  <blog_title>shikumika’s diary</blog_title>
  <blog_url>https://shikumika.org/</blog_url>
  <categories>
    <anon>VBA</anon>
  </categories>
  <description>Excelマクロを使用して業務を自動化する際、処理の履歴をExcelシートに出力し、実行後に記録を参照できるようにしたいときがあります。 ログ出力をする簡単なサンプルです。 内容： アウトプットイメージ VBAサンプル 動作確認のExcelは「Microsoft® Excel® for Microsoft 365 MSO」（バージョン2503）です。 アウトプットイメージ 下図のように、マクロがあるExcelファイルにシート名「ログ」を作成し、処理結果を示すログを出力します。 この事例では、A列とB列に処理対象と処理内容のログを出力しています（For文で処理を１から５まで繰り返し）。 シート名…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshikumika.org%2Fentry%2Fvba-output-log&quot; title=&quot;【Excel VBA】実行ログをExcelシートに出力する簡単サンプル - shikumika’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/y/ycloud/20250429/20250429165051.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-30 12:30:00</published>
  <title>【Excel VBA】実行ログをExcelシートに出力する簡単サンプル</title>
  <type>rich</type>
  <url>https://shikumika.org/entry/vba-output-log</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
