About 182,000 results
Open links in new tab
  1. Using arrays (VBA) | Microsoft Learn

    You can declare an array to work with a set of values of the same data type. An array is a single variable with many compartments to store values, while a typical variable has only one storage …

  2. VBA – Declare (Dim), Create, and Initialize Array Variable

    Dec 4, 2021 · A VBA array variable can be thought of as a group of variables, stored under the same name and having the same data type. An array can store text, numbers, or objects.

  3. How do I declare an array variable in VBA? - Stack Overflow

    Aug 9, 2016 · There are two ways of declaring array variables: This type of array is referred to as a static array, as its size is fixed, or static. If you do not know the size of the array when you …

  4. Excel VBA Array – A Detailed Guide on using Arrays in VBA

    If you want to work with large data using VBA, then you need to understand arrays and how to use them in VBA codes, and in this guide, you will be exploring all the aspects of the array and …

  5. VBA Declare Array Excel - Step by Step Examples, How To Use?

    A guide to VBA Declare Array. Here we learn to declare and use static, dynamic and two-dimensional arrays in Excel VBA code with examples.

  6. Excel VBA Array - The Complete Guide - Excel Macro Mastery

    This post provides everything you need to know about the Excel VBA Array. Includes a quickVBA Array reference guide and 50+ VBA Array examples.

  7. VBA - Arrays - Online Tutorials Library

    There are various inbuilt functions within VBScript which help the developers to handle arrays effectively. All the methods that are used in conjunction with arrays are listed below.

  8. Defining and Manipulating Arrays in VBA - Introduction to VBA

    Sep 15, 2024 · This page explains how to define and manipulate arrays in VBA. To define an array, declare a variable of the Variant type and assign an array to that variable. In the …

  9. Working with arrays - Code VBA

    To be able to work with an array variable we first have to declare it. In addition to giving it a name and deciding on the type of the data it will store we may claim a fixed space - static or leave …

  10. Declaring arrays (VBA) | Microsoft Learn

    Jan 22, 2022 · Use a Static, Dim, Private, or Public statement to declare an array, leaving the parentheses empty, as shown in the following example. Use the ReDim statement to declare …