Blog

Page 383 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Levenshtein Distance in VBA
excel

Levenshtein Distance in VBA

Published on September 2, 2023

# Calculating Levenshtein Distance in VBA: A Complete Guide šŸ“ Have you ever found yourself in a situation where you needed to calculate the Levenshtein Distance between two strings in VBA? Perhaps you have a large Excel sheet with data and you want to de

Cover Image for How to add a button programmatically in VBA next to some sheet cell data?
excel

How to add a button programmatically in VBA next to some sheet cell data?

Published on September 2, 2023

šŸŽÆ **Title: How to Dynamically Add Buttons in VBA Next to Sheet Cell Data** šŸ“ **Introduction:** Do you find yourself in a situation where you need to add buttons dynamically next to cell data in VBA? Look no further! In this easy-to-follow guide, we'll

Cover Image for How to find if an array contains a string
arrayssubstring

How to find if an array contains a string

Published on September 2, 2023

## šŸ“ Finding if an Array Contains a String: Easy Solutions for Common Issues šŸ•µļøā€ā™€ļø Have you ever found yourself in a situation where you needed to check if an array contains a specific string? šŸ¤” Perhaps you're working on an Excel macro or some VBA code

Cover Image for Excel cell from which a Function is called
cellexcel

Excel cell from which a Function is called

Published on September 2, 2023

šŸ” Excel Function Conundrum: Finding the Cell it's Called from! šŸ” Are you tired of searching for that hidden gem of a VBA equivalent to INDIRECT(ROW(), COLUMN())? Look no further because we've got you covered! šŸ™Œ Here's the situation: you want to create

Cover Image for VBA shorthand for x=x+1?

VBA shorthand for x=x+1?

Published on September 2, 2023

# VBA Shorthand for x=x+1?: šŸ¤” Let's Unveil the Mystery! So, you're looking for a shorthand way to add 1 to a variable in VBA. You remember something from your VB.net course that there was a shorter way, but it seems to be a bit elusive in VBA. Fear not,

Cover Image for Use of symbol # (hash) in VBA Macro
excel

Use of symbol # (hash) in VBA Macro

Published on September 2, 2023

# Understanding the Power of the # Symbol in VBA Macros šŸ’ŖšŸ”¢ If you've ever dabbled in the world of Excel VBA macros, you might have come across the mysterious "#" symbol. šŸ¤” Fear not, my curious reader! In this blog post, we'll unravel the secrets behind

Cover Image for How can I color dots in a xy scatterplot according to column value?
excel

How can I color dots in a xy scatterplot according to column value?

Published on September 2, 2023

# How to Color Dots in a XY Scatterplot According to Column Value šŸ˜ŽšŸŒˆšŸ“Š So you've created a neat XY scatterplot in Excel, but you want to take it up a notch and color the dots based on a specific column value. Fear not, because in this guide, we'll show

Cover Image for Read/Parse text file line by line in VBA
excel

Read/Parse text file line by line in VBA

Published on September 2, 2023

# šŸ“ Blog Post: Read/Parse Text File Line by Line in VBA Are you struggling with parsing text documents using VBA? šŸ¤” Don't worry, we've got you covered! In this blog post, we'll walk you through the best and simplest way to read through a text file line

Cover Image for How to wait until ActiveWorkbook.RefreshAll finishes before executing more code
excel

How to wait until ActiveWorkbook.RefreshAll finishes before executing more code

Published on September 2, 2023

# How to wait until ActiveWorkbook.RefreshAll finishes before executing more code Do you ever find yourself frustrated when your code doesn't execute correctly because it doesn't wait for the `RefreshAll` command to finish? 😫 Don't worry, you're not alon

Blog | Matheus Mello