A previous poster posed a problem outlined below (and demanded a programmatic approach, despite multiple attempts to 'nudge' a formulaic approach).
I originally solved his the query (under the disclaimer that an array approach would be more efficient) with a 2x For Each Next; Offset syntax.I need a VBA based macro to find all matching jobs which are in Sheet1 column A, in Sheet2 column A and return the corresponding value in column B in Sheet2 to Column B, Sheet 1.
I have since reapproached the issue for my own personal development via array. As it is widely held that the most efficient code touches the worksheet the least amount of times, my question is this.
How would my code below (which works) be modified to store all instances of TRUE within theline within the array and pass those back to the worksheet in one fell swoop.![]()
Please Login or Register to view this content.
Full code:
![]()
Please Login or Register to view this content.
Bookmarks