<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>VBA Class on Sulprobil</title>
    <link>https://www.sulprobil.de/tags/vba-class/</link>
    <description>Recent content in VBA Class on Sulprobil</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 13 May 2026 14:30:00 +0100</lastBuildDate>
    <atom:link href="https://www.sulprobil.de/tags/vba-class/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SystemState (VBA Class)</title>
      <link>https://www.sulprobil.de/systemstate_en/</link>
      <pubDate>Wed, 13 May 2026 14:30:00 +0100</pubDate>
      <guid>https://www.sulprobil.de/systemstate_en/</guid>
      <description>&lt;h2 id=&#34;abstract&#34;&gt;Abstract&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;&amp;ldquo;Any sufficiently advanced technology is indistinguishable from magic.&amp;rdquo; [Arthur C. Clarke]&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;My former colleague Jon T. created the smallest reasonable class module I have&#xA;seen so far: &lt;em&gt;SystemState&lt;/em&gt; provides an easy way to save and to restore system state&#xA;variables like Calculation, ScreenUpdating and others.&lt;/p&gt;&#xA;&lt;p&gt;To speed up your code you normally write at the beginning of a VBA macro&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-VB.net&#34; data-lang=&#34;VB.net&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Application.Calculation = xlCalculationManual&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Application.ScreenUpdating = &lt;span style=&#34;color:#00f&#34;&gt;False&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and at the end of a macro&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
