Category Archives: Excel

How to Use the Boolean Data Type in VBA

Introduction to Flag Options in Programming In any programming language, there’s a need to set a variable to options like on/off, true/false, yes/no. This variable is then later used in the code to check or understand something else. For example, let us imagine that we

Using the Match Function in VBA and Excel

What is a Match Function? The match function in MS Excel is one of the useful built-in lookup functions that work like Vlookup, Hlookup, and the Index function to return the position of exact or similar matches of the lookup value found in an array

Use Any Formula: Worksheetfunction in VBA

Formulas in EXCEL Microsoft Excel offers several built-in functions that can be used as formulas in Excel worksheets. It displays the categories of functions available in the Insert Function window, as seen in the image below: Usage of Formula in an Excel Sheet Just like

How to Use VBA Input Boxes, With Examples

As a program runs, you might have a parameter which changes the flow conditionally. This parameter could be an input dependent on the user. Therefore, a VBA program needs to be a way to receive input from the user during runtime. This is where InputBox

How to Delete Rows Using VBA

Why would you want to delete a row? Rows are the horizontal layers of data (that could also be blank) in any table. Worksheets in MS Excel are actually all considered to be tables. In MS Word, tables can be inserted into documents for your

VBA/Excel Error 2023: 7 Fixes to Try

Excel or VBA Error 2023 in Excel is a runtime error that occurs both with and without displaying consistent symptoms. While there is no easy answer for this, I’ll try to explain in detail why you might be seeing it. The description for this error

Funcres.xlam and Analysis Toolpak in Excel/VBA

An introduction to funcres.xlam Funcres.xlam is an add-in available within Microsoft Excel. This is an “Analysis Toolpak" and includes 19 different features and various statistical functions to help you work with the data available in your Excel worksheets. In order to use this add-in, which