Latest Blog Posts

VBA Case Vs If in Excel

Want to learn the use Case vs If statement in Excel VBA? Then, this is the right place for you. One of the fundamental concepts in VBA is making ...

Excel VBA Digital Clock on UserForm: A Comprehensive Guide

Using Excel VBA, we can create a Digital Clock on a UserForm. This can be used as a visual reference for the current time, and to track the duration ...

Excel VBA to Customize Ribbon: 5 Easy Steps

Method 1 - Save Excel File as Zip File Change the extension of the Excel file. We have a sample Excel file with the extension xlsm. We want to ...

Excel VBA to Split String by Delimiter: 9 Examples

Method 1 - Use Split Function to Split String by Delimiter Use the Split function to split strings using a delimiter. We have a string with Sales ...

How to Convert a Block of Code into a Comment Using Excel VBA (4 Methods)

  Why Use Comments in a Code? Comments serve several purposes in code: Explanation: They explain what the code is doing and provide ...

VBA to Split with Multiple Delimiters in Excel (2 Easy Ways)

Here's an overview of splitting cells with multiple delimiters using Excel VBA. How to Launch the VBA Editor in Excel Go to the ...

Excel VBA to Comment Multiple Lines (3 Quick Steps)

How to Launch VBA Code Editor The most commonly used method to open the VBA editor is Developer Tab >> Visual Basic or to press ALT+F11. ...

Applying Automatic Uppercase in Excel VBA – 2 Examples

The Excel VBA UCase Function VBA Ucase function is a built-in function used to convert text to uppercase. It takes strings as input and converts ...

How to Count Occurrences in a String Using Excel VBA (4 Methods)

Working with strings is a fundamental aspect of programming, and being able to count occurrences of specific characters or substrings within a ...

VBA Animation in UserForm (4 Suitable Examples)

Example 1 - Creating an Animated Clock in UserForm We'll create an Animated Clock that will look like this. Steps: Go to the Developer ...

VBA to Hide All Sheets Except One in Excel

Sometimes, we might wonder to hide the secret or unnecessary sheets in terms of working with Excel. If you are looking for a better way to do it, ...

Using VBA to Get the Array Dimensions in Excel – 4 Examples

Example 1 - Get the Array Dimensions with the Number of Elements in Excel Press F5 or click Run to run the VBA macro. Sub Array_Elements() ...

VBA Array Size Limit in Excel (5 Different Cases)

Array is an important feature that allows you to store and manipulate data. However, VBA has limitations on the size and dimension of an array. ...

VBA to Wrap Text for Entire Sheet in Excel (3 Ways)

Have you ever seen long lines of text that extend beyond the cell’s boundaries? or text that does not fit within the cell’s width? If your answer is ...

How to Deselect in Excel VBA (7 Methods)

  How to Launch VBA Editor in Excel To access the Microsoft Visual Basic window, go to the Developer tab and click on Visual Basic. You can ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo