Results 1 to 21 of 21

How to use array declared in VBA in spreadsheet

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Sweden
    MS-Off Ver
    2016.
    Posts
    397

    How to use array declared in VBA in spreadsheet

    I have posted a similar thread at https://www.mrexcel.com/forum/excel-...provement.html

    I am declaring a table as an array.

    Dim myarray As Variant
    myarray = Sheet4.ListObjects("Data").DataBodyRange.Value
    How can I use the myarray array in my excel spreadsheet? I want to VLOOKUP the array.
    Last edited by waimea; 03-03-2019 at 02:36 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Determine if a value is in declared array
    By pmchris in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-28-2018, 03:39 PM
  2. Scope of Array declared in Excel Macro-Enabled Add-In
    By eadamy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-11-2017, 07:47 PM
  3. with i as integer different format for an declared array
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2017, 02:11 PM
  4. Refresh an already declared variable
    By EchoPassenger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2016, 04:56 AM
  5. array names declared on the fly
    By GunNam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-22-2010, 10:22 PM
  6. Non-declared variable
    By mqdias in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2007, 10:01 AM
  7. How to reference a public array (declared in module) from a proced
    By Amzee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-11-2005, 05:06 PM

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