I've been looking for some code to allow me to highlight matches in two columns in two seperate worksheets in the same workbook. Everything I've tried so far seems to just hang, almost immediately.
I have two worksheets, both with around 6,000 rows and 100 columns. Ideally I need something where the user can select the columns to compare, e.g. compare Column B on Sheet 1 with Column D on Sheet 2 by coming up with a userform or similar to allow the user to enter, which columns they want to compare with which on the two sheets and then for matching values to be highlighted on the relevant sheet, so if they are comparing Column B on sheet 1 with Column D on sheet 2, all matches, whether text or numB on sheet 1 and this would highlight the matches in Column D on sheet 2.
I found this, but it gives no status bar feedback as to progress and for my worksheets simply hangs:
I also found this, but it literally hangs almost immediately.Please Login or Register to view this content.
I have extremely limited knowledge of VBA, hence my need for help...Please Login or Register to view this content.
I'm not looking necessarily to adapt the code above, but if anyone has anything that would allow me to achieve the above with a simple user interface, i.e. a userform that allows the user to enter the columns and the worksheets to compare on both sheets, that would be very gratefully appreciated...
Many thanks
Bookmarks