Hi
If I use multiple range selection as ("B2:B1000, G2:G1000, L2:L1000, Q2:Q1000"), the macro works fine. However, when I try to use ("B2:B" & LastRow, "G2:G" & LastRow.....) I get an error on that line. LastRow was correctly defined. I also tried using the Union.
The code will create a list from given ranges in "Sheet2" and write to "Result2" Column A along with a count of duplicates in column B My knowledge in VBA is minimal. Any help is appreciated. Many thanks in advance.
Note: I'm not sure of the original poster of the code, bad of me.
![]()
Please Login or Register to view this content.
Bookmarks