Macros & Excel VBA

How to Format Date with VBA in Excel (4 Methods)

Implementing VBA macro is the most effective, quickest and safest method to run any operation in Excel. In this article, we will show you how to ...

Date Variable in VBA Codes (7 Uses of Macros with Examples)

In Microsoft Excel's VBA, there are a lot of essential methods and functions. To use those, we have to declare variables. The Date variable is one of ...

How to Get the Current Date in VBA (3 Ways)

In this article, I’ll show you how you can get the current date in VBA in Excel. You’ll learn to show the current date, show the current time, as ...

How to Use VBA DateValue Function in Excel (6 Examples)

In Excel, various people use different date formats so it is required to have any function to convert any formats into a standard date format. ...

How to Convert Date from String Using VBA (7 Ways)

If you are looking for some of the easiest ways to convert date from string using VBA, then you are in the right place. By using a VBA code you can ...

How to Switch Rows and Columns in Excel (5 Methods)

If you want to switch rows and columns in Excel, you can do this manually or automatically in multiple ways depending on your purpose. In the ...

How to Call a Sub in VBA in Excel (4 Examples)

In this article, I’ll show you how you can call a Sub from another Sub or Function in VBA in Excel. You’ll learn to call a Sub with or without ...

How to Convert Range to Array in Excel VBA (3 Ways)

In this article, I’ll show you how you can convert a range to an array in VBA in Excel. Convert Range to Array in Excel VBA (Quick View) Sub ...

How to Change Text Color Based on Value with Excel Formula

Fortunately, datastore, process, and manipulation are very familiar uses of Microsoft Excel. When we work with a large amount of data, sometimes we ...

How to Use ColorIndex in Excel VBA (4 Examples)

In this article, I’ll show you how you can use the ColorIndex property in Excel VBA. You’ll learn to set the background, font, and border color of ...

How to Add Characters in Excel (with Formula, Flash Fill & VBA)

You may need to add characters in Excel to the beginning, end, or in any position of all cells in a selection at times. I guess everyone knows how to ...

How to Use VLOOKUP Function in Excel VBA (4 Examples)

In this article, I’ll show you how you can use the VLOOKUP function of Excel in VBA. You’ll learn to use the VLOOKUP function with a user-defined ...

Change Font Color Based on Value of Another Cell in Excel

Changing the font color of a dataset is one of the essential tasks of Microsoft Excel. We do it to have a clear and attractive look at our dataset. ...

How to Change Text Color with Formula in Excel (2 Methods)

Changing text color is a very important task in Excel. It helps in many ways to highlight and analyze data. We can do it manually but there is no ...

Excel VBA: Select Multiple Columns (3 Methods)

Selecting multiple columns in Excel is a common task. We select numerous columns to perform various operations. You can pick multiple columns ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo