Functions

VBA Functions and Examples

Currency Data Type in Excel VBA

VBA Currency Data Type in Excel

Currency Data Type in Excel VBA Currency Data Type in Excel VBA explained with syntax and examples. We use the Currency VBA data type to store numbers in integer format and these numbers scaled by 10,000. The default value is 0. The Currency VBA data type conatins range of values between -922,337,203,685,477.5808 to 922,337,203,685,477.5807. The …

Currency Data Type in Excel VBARead More »

Object Data Type in Excel VBA

VBA Object Data Type in Excel

Object Data Type in Excel VBA Object Data Type in Excel VBA explained with syntax and examples. An object consists of reference to an object. It occupies 4 bytes (32 bits) in memory. We use Set statement for a convenient way to refer an object. Table of Contents: Overview of Object VBA Data Type in …

Object Data Type in Excel VBARead More »

Variant Data Type in Excel VBA

VBA Variant Data Type in Excel

Variant Data Type in Excel VBA Variant Data Type in Excel VBA explained with syntax and examples.Variant Data Type in Excel VBA explained with syntax and examples. It is a special and universal data type to use for any kind of data except fixed lenth string. It is more flexible, but occupies more space in …

Variant Data Type in Excel VBARead More »

String Data Type in Excel VBA

VBA String Data Type in Excel

String Data Type in Excel VBA String Data Type in Excel VBA explained with syntax and examples.String Data Type in Excel VBA explained with syntax and examples. Where string is nothing but sequence of characters. We use VBA data type string to store text. Text includes not only characters but also numbers, spaces and special …

String Data Type in Excel VBARead More »

Double Data Type in Excel VBA

VBA Double Data Type in Excel

Double Data Type in Excel VBA Double Data Type in Excel VBA explained with syntax and examples.Double Data Type in Excel VBA explained with syntax and examples. We use VBA data type Double to store numbers which represents Double-precision floating-point variables. The default value is 0 and store decimal values. The VBA data type Double …

Double Data Type in Excel VBARead More »

Single Data Type in Excel VBA

VBA Single Data Type in Excel

Single Data Type in Excel VBA Single Data Type in Excel VBA explained with syntax and examples. We use VBA data type single to store numbers which represents single-precision floating-point variables. The default value is 0 and store decimal values. The VBA data type single conatins range of values -3.402823E38 to -1.401298E-45 for negative values, …

Single Data Type in Excel VBARead More »

Decimal Data Type in Excel VBA

VBA Decimal Data Type in Excel

Decimal Data Type in Excel VBA Decimal Data Type in Excel VBA explained with syntax and examples.Decimal VBA Data Type in Excel VBA explained with syntax and examples. We use the Decimal VBA data type to store integer numbers scaled by a variable power of 10. The default value is 0. The Decimal VBA data …

Decimal Data Type in Excel VBARead More »

Integer Data Type in Excel VBA

VBA Integer Data Type in Excel

Integer Data Type in Excel VBA Integer Data Type in Excel VBA explained with syntax and examples. We use the integer VBA data type to store only integer whole numbers. The default value is 0. The integer VBA data type conatins range of values between -32,768 to 32,767. Integers cannot have decimal places. The integer …

Integer Data Type in Excel VBARead More »

VBA Multi-Dimensional Array in Excel

Multi - Dimensional Array

VBA Multi-Dimensional Array in Excel VBA Multi-Dimensional Array in Excel.The Multi-Dimensional Arrays uses more than two indexes(Subscripts). We can have up-to 60 dimensions in an array. Table of Contents: Overview of VBA N-Dimensional Array in Excel Syntax of VBA Multi-Dimensional Array in Excel Example for VBA N-Dimensional Array in Excel Instructions to use Macro Code …

VBA Multi-Dimensional Array in ExcelRead More »

VBA Three-Dimensional Array in Excel

VBA Three-Dimensional Array in Excel VBA Three Dimensional Array in Excel. The 3Dimensional Array has three dimensions and uses three indexes(Subscriptss). The three subscripts(indexes) are separated with comma symbol. For example one index represents the rows, second one represnts the columns and third one represnts the charts. We refer Excel worksheet or cudbe for 3Dimensional …

VBA Three-Dimensional Array in ExcelRead More »

VBA Two-Dimensional Array in Excel

Two - Dimensional Array

VBA Two-Dimensional Array in Excel VBA Two-Dimensional Array in Excel. Two Dimensional Array ahs two dimensions and uses 2 Indexes. The two indexes are separated with comma symbol. For example one index represents the rows and other represnts the columns. The 2Dimensional array also called as rectangular array. We refer Excel worksheet or table for …

VBA Two-Dimensional Array in ExcelRead More »

VBA One-Dimensional Array in Excel

One - Dimensional Array

VBA One-Dimensional Array in Excel VBA One-Dimensional Array in Excel. The One(1)-Dimensional Array uses only one index(Subscript). The one-dimensional array consists of list of items of same data type. It consists of either single row or column data. We read values from an array or into an array using index value. The one dimensional array …

VBA One-Dimensional Array in ExcelRead More »

VBA Array Erase Function in Excel

VBA Array Erase function

VBA Array Erase Function VBA Array Erase Function in Excel. The Erase function is used to reset(reinitialise) the size of an array. It depends on type of an array . That is either static or dynamic array. Table of Contents: Overview of VBA Erase Function in Excel Syntax of VBA Erase Function in Excel VBA …

VBA Array Erase Function in ExcelRead More »

VBA Array IsArray Function in Excel

VBA Array IsArray function

VBA Array IsArray Function in Excel VBA Array IsArray function checks whether the specified input variable is an array or not. It returns a boolean value. The specified input varaible ia an array then returns True, otherwise returns False. Let us examples in the following tutorial. Table of Contents: Overview of VBA IsArray Function in …

VBA Array IsArray Function in ExcelRead More »

VBA Array UBound Function in Excel

VBA Array UBound function

VBA Array Upper Bound(UBound) Function Let us see about VBA arrays Upper Bound or UBound function in Excel VBA. The UBound function represents the Upper Bound value of an array. It returns the highest subscript(Index) value of specified array. It helps to determine the existing an array end size. Table of Contents: Overview of VBA …

VBA Array UBound Function in ExcelRead More »