<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>LimeCode</author_name>
  <author_url>https://blog.hatena.ne.jp/LimeCode/</author_url>
  <blog_title>和風スパゲティのレシピ</blog_title>
  <blog_url>https://www.limecode.jp/</blog_url>
  <categories>
    <anon>○○と△△の違い</anon>
    <anon>イベント処理</anon>
    <anon>ブック・ファイル</anon>
    <anon>VBA</anon>
  </categories>
  <description>Workbook_BeforeCloseとAuto_Closeの違いを解説します。どちらもブックを閉じる直前にマクロを自動実行する仕組みですが、閉じるのを中止する機能を有するbeforecloseが上位互換のためこちらを使いましょう。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.limecode.jp%2Fentry%2Fdifference%2Fworkbook-beforeclose-auto-close&quot; title=&quot;Workbook_BeforeCloseとAuto_Closeの違い - 和風スパゲティのレシピ&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.user.blog.st-hatena.com/default_entry_og_image/154743825/1575205807164226</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-20 00:00:18</published>
  <title>Workbook_BeforeCloseとAuto_Closeの違い</title>
  <type>rich</type>
  <url>https://www.limecode.jp/entry/difference/workbook-beforeclose-auto-close</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
