PC Review


Reply
Thread Tools Rate Thread

ActiveFilter using VBA code

 
 
Dennis
Guest
Posts: n/a
 
      14th Nov 2006
2003

The following code copies over only the first cell from
Sheets("COA EOY") to Sheets("ActiveAccounts").

Even if I change the To: Range to Range("A1:A250") the result is the
same. BTW, the data in Sheets("COA EOY").Range("A1:A250") is 250
Formulas displaying account numbers.

CURRENT VBA CODE:
Sheets("COA EOY").Range(Cells(2, "A"), _
Cells(Rows.Count, "A").End(xlUp)(1)).AdvancedFilter
Action:=xlFilterCopy, _
CopyToRange:=Sheets("ActiveAccounts").Range("A1"), Unique:=True

If I copy/paste the Sheets("COA EOY").Range("A1:A250") to Values Only,
then the above VBA code works the way I expected whether Unique:= True
or False.

What am I missing or need to learn?

EagleOne

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linq to XML--Are there code examples that make Linq as easy as SQL? Or how can I convert ths simple pseudo code into real code? Reece Microsoft C# .NET 4 10th Dec 2008 03:13 AM
ATI Radeon Drivers - Code 43, Code 37 & Code 10 =?Utf-8?B?SmFrZQ==?= Windows Vista Hardware 14 29th Aug 2006 05:50 AM
ATI Display Drivers - Code 43, Code 37, Code 10 Jake Windows Vista Hardware 2 8th Jul 2006 04:00 PM
what is the difference between code inside a <script> tag and code in the code-behind file? keithb Microsoft ASP .NET 1 29th Mar 2006 02:00 AM
[New] Zipoid - ZIP Code, City Name and Area Code Lookup - Zip Code to Zip Code Distance Calculation Mel Freeware 0 22nd Jul 2005 04:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:57 PM.