
VBA Comment in Excel — Comment Out Code, the Apostrophe Rule & Why It Never Runs
A VBA comment is the one line the compiler is guaranteed to ignore, which makes it your safest debugging move and your most dangerous documentation habit. This guide covers the apostrophe versus Rem, how to comment out a whole block with the hidden Edit toolbar, why a comment cannot live inside a line-continuation, the difference between a source comment and a cell Comment object, and the only comments actually worth writing.







































































































![Excel Sum of Time Over 24 Hours — Why Your Total Resets (and the [h]:mm Fix)](/_next/image?url=https%3A%2F%2Fexcelmasterstore.blob.core.windows.net%2Fexcelmaster%2Fcms%2Fblog-assets%2Fexcel-sum-time-over-24-hours%2Fhero.png&w=1200&q=75)







































































































![How to Convert .xlsb to .xlsx — 5 Free Methods (Excel, Online, Python, VBA) [2026]](/_next/image?url=https%3A%2F%2Fexcelmasterstore.blob.core.windows.net%2Fexcelmaster%2Fcms%2Fcovers%2Fv2-launch-agent-excel.png&w=1200&q=75)





















