Hey everyone,
Still trying to get the hang of VBA. I have a set of customer accounts that I need to pull the state in using vlookup. The thing is the customer accounts list is dynamic and changes every week (nfile - 20,000+ lines) and the master file I pull the states from is dynamic and changes every week ( ZCIS.xlsx - 1,000,000+ lines). I am trying to figure out how to speed up my vlookup using a next i or loop construct. Dim nfile allows me to use input date to enter in the date of the file each week since the customer accounts format never changes, simply the date we are looking at the open customer accounts. ZCIS is the customer master file that contains the state I am trying to pull-in. My previous code used a simple .formula and LastRow.filldown.
This is my current failed attempt at the do loop construct
Any help is greatly appreciated, also let me know if I am approaching the speed issue from the wrong angle. Thanks!
Kyle
Bookmarks