So I have the below code, it works but very slowly. What it does it that for each brokercode in the active workbook (let's called it #1), it searches the mainFile workbook for that value. Once found, it will apply the same color to the brokercode cell. Would anyone have a better idea to do this? I have 5000 entries and the macro sometimes freezes before giving the results. I'm not sure if it is because each brokercode in workbook #1 has duplicates, so there are many iterations doing the exact same thing over and over. Can anyone please help to make the macor run faster? I don't know how to do!
Bookmarks