Hello,
I have a simple VBA question.
For each 'Y' or 'Yes' values found in column C, I'd like to add its corresponding row values (column A and column B) to a 2D array.
Therefore I need it to be dynamic "row" wise, but column wise it's fixed to 2 columns.
How do I do it?
Note here that screenshot of column A and Column B is a dynamic array (in other words A2# = A2:B9). Column C is where user input will be
Given the print screen below, I'd like my result:
arr(1,1) = B
arr(1,2) = Ran2
arr(2,1) = D
arr(2,2) = Ran4
2D Dynamic Array VBA.png![]()
Please Login or Register to view this content.
Bookmarks