<?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>
    <anon>VBAの研究・考察</anon>
    <anon>クラスモジュール活用</anon>
  </categories>
  <description>Debug.Print、Debug.Assertはいずれもデバッグ用の機能なので、リリース版のコードには不要である。 かといって消してしまうと、次にコードを修正するときに面倒なので残しておきたい。そこで代用クラスを作ってみたので紹介。まずクラスモジュールを挿入し、オブジェクト名をTesterにする。 コードは次のとおり。 #Const VALID = True Const STOP_ON_ASSERTION_FAILURE = False Sub Out(v As Variant) #If VALID Then Debug.Print v #End If End Sub Sub Assert(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthom.hateblo.jp%2Fentry%2F2019%2F03%2F30%2F120236&quot; title=&quot;VBA Debug.Print、Debug.Assertの代用クラス案 - 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/20190330/20190330120111.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-30 12:02:36</published>
  <title>VBA Debug.Print、Debug.Assertの代用クラス案</title>
  <type>rich</type>
  <url>https://thom.hateblo.jp/entry/2019/03/30/120236</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
