tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
HI Everyone,
I have this Macro that removes duplicates great
The only problem is it leaves the first row not the last row of data
can I get it to leave the last row?
thanks
Tony
I have this Macro that removes duplicates great
Code:
Sub Macro2()
ActiveSheet.Unprotect
ActiveSheet.Range("$A:$N").RemoveDuplicates Columns:=Array(2, 9, 10), _
Header:=xlYes
ActiveSheet.Protect
End Sub
can I get it to leave the last row?
thanks
Tony