Tag Archives: Range

[Guide] How to Use Column Select in VBA

Selection of a Data Range in Excel In a Microsoft Excel document, serval operations like Delete, Edit, Type, and other formatting can also be done only if we select the range of cells on which we need to perform the change. There are several ways

The Ultimate Guide to Listobjects in VBA

“Listobject” is a feature in Excel VBA that refers to the tables of data in the Excel sheets. We can play around the tables with the rows, columns, format, color, font styles, etc. using this feature in our VBA code. Before trying to create and

Specialcells in VBA: 7 Critical Examples

What are Specialcells? Specialcells are a group of cells that belong to the same data type/format/color or have the same type of content like comments or blank. They are defined and used as a range object. This feature is useful when a change has to

Inserting Rows in VBA: 6 Methods to Try

Rows are the horizontal layers of data — whether empty or not — in any table. You can think of a worksheet in MS Excel as a table. Likewise in Word, tables can be inserted and used. Rows are essential part in any table used

How to Use NumberFormat in VBA

Description FormatNumber is a property of the Range object of Excel. The Range object can be considered as a cell or a group of cells — be that a single cell, a column in an Excel table, or the UsedRange of an Excel sheet. The

How to Use IF OR Statements in VBA

In VBA, IF OR is the combined utilization of the IF statement and the OR keyword. Particularly, the OR keyword is used to construct the logic of the condition statement. The syntax for the combined IF OR statement is as follows: IF [condition statement 1]

Using the VLookup Function in VBA

The VLookup function is an Excel function.  It can be used directly on your worksheet without having to use any VBA code.  However, there may be instances in VBA where you wish to also use VLookup functionality. You would then need to call the VLookup