Excel Tips & Tutorials

Step-by-step Excel guides, formulas, and tips. New tutorials added regularly.

Excel VBA Error Handling – All You Need to Know!

Second Division by error code

No matter how experienced you’re with VBA coding, errors are always going to be a part of it. The difference between a novice and an expert VBA programmer is that the expert programmers know how to effectively handle and use errors. In this tutorial, I will show you various ways you can use to handle …

Read more

Visual Basic Editor – How to Open and Use it in Excel

Different Parts of the VB Editor in Excel

The first step to working with VBA in Excel is to get yourself familiarized with the Visual Basic Editor (also called the VBA Editor or VB Editor). In this tutorial, I will cover all there is to know about the VBA Editor and some useful options that you should know when coding in Excel VBA. …

Read more

Using VBA FileSystemObject (FSO) in Excel

Scrrun Microsoft Scripting Runtime Library Option Checked

When we use VBA in Excel, most of it is to automate our tasks. This also means that most of the time, we work with cells and ranges, worksheets, workbooks, and other objects which are a part of the Excel application. But VBA is a lot more powerful and can also be used to work …

Read more

Excel AutoCorrect: A Complete Guide + Time Saving Examples

What happens when you type the word ‘Drnik’ instead of ‘Drink’ in Excel? You would notice that Excel will autocorrect that misspelled word to Drink (as shown below). Somehow, Excel knew that this is not the correct spelling and autocorrected it to the right one. Now, it won’t autocorrect all the misspelled words. Just a few! …

Read more

VBA DIR Function – An Easy Explanation with Examples

File Name using VBA DIR Function

VBA has some useful functions that can take your automation in Excel to the next level. One such function is the VBA DIR function. While by itself, it may seem like a simple function that does one specific thing. But when you combine it with some other useful elements of the VBA coding language, you …

Read more

How to Sort Worksheets in Excel using VBA (alphabetically)

Copy and Paste the code to sort worksheet tabs in Excel

If you work with a lot of worksheets in Excel, you would know that management of it can become an issue. Once you have more than a couple of worksheets, you need to manually arrange these. How easy would it be had there been a way to quickly sort the worksheets alphabetically in Excel. While …

Read more

6 Easy Ways to Insert the Delta Symbol (Δ) in Excel

Formula Bar - Delta Result

When it comes to inserting symbols in Excel, things can get a bit complicated. You either need to know the keyboard shortcut, or use the methods that are not very straightforward. And there are a lot of symbols that many people need to insert regularly, such as the degree symbol, cent symbol, delta symbol, etc. …

Read more

Excel VBA Select Case Statement – Explained with Examples

Select Case Statement in Excel VBA - Get Grade Custom Function

Excel VBA has the IF Then Else construct that you can use to analyze multiple conditions and execute codes based on these conditions. Another similar construct that allows you to check for multiple conditions is the SELECT CASE statement. Select Case is useful when you have three or more conditions that you want to check. …

Read more

Understanding Excel VBA Data Types (Variables and Constants)

Excel VBA Data Types assignment error mismatch

In Excel VBA, you would often be required to use variables and constants. When working with VBA, a variable is a location in your computer’s memory where you can store data. The type of data you can store in a variable would depend on the data type of the variable. For example, if you want …

Read more

Get the FREE 51 Excel Tips Ebook

Enter your details and the free PDF is on its way to your inbox.

Hmm, that didn't go through. Please check your email and try again.

No spam. You'll also get my weekly Excel newsletter. Unsubscribe anytime.

Check your inbox!

The ebook is on its way to your email. It usually lands within a couple of minutes.