+ Reply to Thread
Results 1 to 3 of 3

I need help creating a 3x3 Matrix in vba?

  1. #1
    Registered User
    Join Date
    10-04-2011
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    5

    I need help creating a 3x3 Matrix in vba?

    I am in a begginer programing course, i know how define a single line vector using:
    Dim A as Variant
    ReDim A (1 to 3)
    A(1)=1
    A(2)=2
    A(3)=3

    and then do calculations the the vector. The problem is i don't know how to do this to a matrix. The question asks me to make a function that passes the dimensions of a matrix and then multiplies the matrix by a scaler. Any help getting me started?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: I need help creating a 3x3 Matrix in vba?

    Does this help?

    Please Login or Register  to view this content.
    Martin

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: I need help creating a 3x3 Matrix in vba?

    Well, actually you do not have to:


    Please Login or Register  to view this content.
    Last edited by snb; 10-18-2011 at 03:39 PM.



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1