Range("B2:B2819").AdvancedFilter Action:=xlFilterCopy,
CopyToRange:=Range( _
"AB65000"), unique:=True
On Nov 11, 12:24*am, headly <hea...@discussions.microsoft.com> wrote:
> Excel 2007 is giving me such a headache;
>
> Recorded macro code
> Columns("B2:B2819").AdvancedFilter Action:=xlFilterCopy, _
> * * * *CopyToRange:=Range("AB65000"), Unique:=True
>
> Should extract 6 values
>
> When run from inside a procedure it fails to extract anything;
> When run manually without a macro running it works fine;
> Additional info: Column A is already filtered to 1 value, now I need to get
> the associated values from column B; At this point i have already ran extract
> unique on column A with no problem
|