Hi all, I am very new to VBA and struggling to make sense of it all!!
I am trying to help my wife with a spreadsheet she uses a lot. Basically I need to find a row in sheet 1 (Tracking) where Column B is the same in both and where column G in sheet 2 (BL) matches column K in sheet 1, and if so, update the data in sheet 1 column W with the data from sheet 2 column I. Now I have already had help with that bit and it works a treatThank you....
Now I am trying to highlight any rows in sheet 2 which do not match....
I have tried and it works on my test but when I run it on the actual spreadsheet (1 sheet has 8000 rows and one has 5000 rows) it takes forever and then crashes Excel! The OverwriteMatchedData function works fine its just the HighlightNotFound bit that breaks it, I was wondering if they can be combined?
Can anyone help?? It would be greatly appreciated. My code is below:
![]()
Please Login or Register to view this content.
Bookmarks