Results 1 to 12 of 12

Assign array

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,677

    Assign array

    Hi, I need help assigning an array.

    In the past i have used something like the following to define a multi-dimensional array

    active_array = active_ws.Range("A1", active_ws.Cells(Rows.Count, "A").End(xlUp).Offset(, 1))
    But in this case i cant use this defn/assignment. See enclosed file. I am trying to assign to an array the shaded cells. I have a for loop and the first time through i want to assign the area in red to a multidimensional array. I will do "something" with this array and then the the next time through the loop i will assign the area in purple.

    Problem i am having is assigning the shaded cells to muli-dimensional array using the type of defn above. Any suggestions?
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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