Hey guys,
I am just beginning to learn VBA. I knew a lot about Excel functions before making the leap to VBA so much of my excel knowledge is rooted in the functions. I am trying to create a code that needs to perform an =index(match()) kind of function. Basically I have an array that I place in the spreadsheet and then need to place their corresponding info next to them.
The only way I have been able to think of so far is to use the application.index and application.match inside a for loop to get it done. However, I have to select the array in the formula in each loop and I am going through large amounts of data. It takes 5+ minutes to run just that part of my code. Does anyone know any faster/more efficient way to run this kind of code? I am open to any suggestions and can give a better explanation of how I am doing it now if needed.
Thanks in advance
Bookmarks