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

    Jan 21, 2022 · In Visual Basic, you can declare arrays with up to 60 dimensions. For example, the following statement declares a 2-dimensional, 5-by-10 array. If you think of the array as a matrix, the first argument represents the rows and the second argument represents the columns. Use nested For...Next statements to process multidimensional arrays.

    Missing:

    • Definition

    Must include:

  2. VBA Matrix - Create & More - Automate Excel

    Jul 19, 2021 · This tutorial will show you how to create a matrix using an Array in VBA. A matrix is a rectangular array of numbers with the same amount of Rows and Columns. You can create a matrix in VBA by populating Array variables and using VBA Loops .

    Missing:

    • Definition

    Must include:

  3. Arrays - Visual Basic | Microsoft Learn

    Sep 10, 2022 · When you use Visual Basic syntax to define the size of an array, you specify its highest index, not the total number of elements in the array. You can work with the array as a unit, and the ability to iterate its elements frees you from needing to know exactly how many elements it contains at design time.

  4. arrays - matrix in visual basic - Stack Overflow

    Mar 21, 2019 · To make it generic, use the GetUpperBound () function to determine how many elements are in your array for each dimension (it should be the same, however, since you have a square matrix): Dim size As Integer = 3. Dim numberWidth As Integer = 2. Dim format As String = "D" & numberWidth. Dim A(size - 1, size - 1) As Integer.

    Missing:

    • Definition

    Must include:

  5. VBScript create a multi-dimensional array and add to it?

    Nov 12, 2013 · Basically I'm trying to learn how to make a multi-dimensional array in VB script and add to it with a loop. What are some basic examples that can work in my case?

  6. Matrix Math with VBA (System of Linear Equations)

    I'm looking for a little help performing some matrix mathematics in Excel's VBA. I've read a ton of replies that suggest using the Excel worksheet but I'm hoping to solve this within the VBA code itself.

    Missing:

    • Definition

    Must include:

  7. Excel VBA Array: The Complete Tutorial for Beginners - Power …

    These 2 definitions provide a good idea of the basic characteristics of a VBA array that you need to understand for purposes of this tutorial. These main characteristics of a VBA array are: For purposes of Visual Basic for Applications an array is, basically, a group of variables.

  8. Visual Basic/Arrays - Wikibooks, open books for an open world

    Matrices are not as commonly used as arrays, but are an important element of programming. Rather than just one dimension, a matrix may have 2 or more. So, to make a matrix, the Dim statement would be:

  9. Basic Matrices in Visual Basic QuickStart Sample

    This QuickStart sample demonstrates the fundamental operations for working with matrices in Numerics.NET using the Matrix class. The sample covers essential matrix operations including: The code illustrates proper matrix initialization, element …

    Missing:

    • Definition

    Must include:

  10. Lesson 16 : Arrays - Visual Basic Tutorial

    Feb 14, 2025 · We can use Public or Dim statement to declare an array just as the way we declare a single variable. The Public statement declares an array that can be used throughout an application while the Dim statement declares an array that could be used only in a local procedure. The general syntax to declare a one dimensional array is as follow:

  11. Some results have been removed
Refresh