vba · DOCS

Introduction to VBA

A learning site for Excel VBA. From basic usage of Excel VBA to practical samples, we explain it in an easy-to-understand manner.

Worksheet Operations

Workbook Operations

commands

Tips

Improving execution speed

Do you experience screen shaking or frequent switching between processing mode and normal mode while running your created process? For those who do, we have a solution to easily solve the above problems and introduce code that can further accelerate your process.

Array Operations

By using arrays, you can store multiple pieces of data in a single variable. This page explains how to define and manipulate arrays in VBA.

Encoding to Base64

Learn how to encode a string to Base64 in VBA without any reference settings, using ADODB.Stream and MSXML. Includes a UTF-8 version for non-ASCII text (BOM removed) and Base64URL conversion.

Character Escape

This article explains how to perform character escaping in VBA, such as double quotes and newline characters. It also describes the escape sequences used when including special characters in strings.

Collection Object

The VBA Collection object is a convenient data structure for flexibly managing multiple items. This article explains everything from basic usage to practical applications and comparisons with Dictionary.

Debug.Print and Debugging

Master VBA debugging techniques to efficiently find and fix bugs. Learn about Debug.Print, the Immediate Window, breakpoints, step execution, Watch Window, and other practical debugging methods.

Dictionary Object

The VBA Dictionary object is a powerful data structure for managing key-value pairs. This article explains everything from basic usage to practical applications in a beginner-friendly way.

Dir Function for File Operations

Learn how to use the VBA Dir function to list, search, and work with files and folders. From basics to wildcards, subfolders, and FileSystemObject comparison—with practical code examples.

Exclude Empty Strings from Array

Learn how to remove empty-string ("") elements from a VBA array. Covers single-pass filtering with ReDim Preserve, avoiding errors when every element is empty, handling whitespace-only elements, and a reusable function with code examples.

FileSystemObject

A comprehensive guide to FileSystemObject (FSO) in VBA for file and folder operations. Learn file reading/writing, folder creation/deletion, file listing, and more with practical code examples.