How to Use Structures in VBA? The User Defined Data Types

Let's say you are trying to create a school management system. Here, you will have different types of variables like student name, student roll no, cl...

How to Use Worksheet Functions like VLOOKUP in VBA Excel?

  The functions like VLOOKUP, COUNTIF, SUMIF are called worksheet functions. Generally, the functions that are predefined in Excel and rea...

How to Auto Refresh Pivot Tables Using VBA Excel

As we all know, whenever we make changes in a source data of a pivot table, it doesn't reflect immediately in the pivot table. We need to refresh ...

How to Run a Macro Automatically Before Workbook Close in Excel

Many times we want to do some predefined and repetitive steps before the workbook closes. For example, closing connections to the database, deleti...

How to Open Excel Macro Dialog Using Shortcut

Macro Dialog Box is used to run, edit, assign shortcuts or delete a macro in open workbooks.  To open a Macro dialog in Excel we can use the s...

What Application.Screenupdating = False Means and Why is it Used in VBA

Ok! This one is important. Any good VBA procedure always has this line mentioned at the beginning. Application.Screenupdating=FALSE And bef...

How to Convert Number to Words in Excel in Rupees

Excel does not provide any default function that converts a number or amount in words in Indian rupees or any currency. But it doesn't mean that w...

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.