VBA / Office

VBA / Office

Bulk Delete Empty Rows in Excel — Safely Cleaning Only the Target Table with Office Scripts

Using Office Scripts to delete only completely empty rows in a specified Excel table from the bottom up. When multiple tables exist, the target name must be specified to make it harder to accidentally modify other tables.
VBA / Office

Saving UTF-8 Without Garbled Characters in VBA — Using ADODB.Stream Without Reference Settings

Call ADODB.Stream from VBA using Late Binding to save UTF-8 BOM-included text to a file. We also organize where and when to use Charset.
VBA / Office

Extracting IDs, Emails, and IPs from Logs Using Only Excel — Using REGEXEXTRACT / REGEXREPLACE

Using REGEXEXTRACT / REGEXREPLACE in Microsoft 365 Excel to extract IDs and IPs from log strings and easily mask email addresses.
VBA / Office

What Does VBA DoEvents Actually Do? — Understanding Why Screens Freeze and How Event Processing Works

This article delves into why VBA's DoEvents can restore Excel's responsiveness, exploring event processing, reentrancy, and the differences from asynchronous processing. It is designed to prevent treating DoEvents as a universal asynchronous solution.
VBA / Office

Safely Automating Other Applications with CreateObject in Office VBA

This article is a technical commentary and implementation example created using AI. The codes and procedures presented a...
VBA / Office

Checking the Excel VBA Object Model Hierarchy with a Small Macro

This article is a technical commentary and implementation example created using AI. The published code and procedures ar...
VBA / Office

Understanding the Excel VBA Range Object from the Ground Up

This article is a technical explanation and implementation example created using AI. Although the code and procedures pr...
VBA / Office

Creating Reusable Functions in Excel without VBA Using LAMBDA

This article is a technical explanation and implementation example created using AI. Although the code and procedures pr...