Thread
:
Hide rows without data in a column based on active cell
View Single Post
#
7
Posted to microsoft.public.excel.programming
Claus Busch
external usenet poster
Posts: 3,872
Copy text in colum each time it is a new text
Hi,
Am Thu, 10 Mar 2016 17:54:51 GMT schrieb
:
But can I define the range to be looked through?
I tried to insert this in the macro, but it did not work.
Range("A6:C48").Select
try it this way:
Sub UniqueValues()
ActiveSheet.Range("A6:C48").Copy Sheets("test").Range("A1")
Sheets("test").UsedRange.RemoveDuplicates Columns:=3, Header:=xlNo
End Sub
Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
Reply With Quote
Claus Busch
View Public Profile
Find all posts by Claus Busch