PC Review


Reply
Thread Tools Rate Thread

advanced filter office 2007

 
 
tina
Guest
Posts: n/a
 
      17th Nov 2009
Hi
I recently upgraded to office 2007 and my macro does not do the advanced
filter correctly now only putting in headings no data . If I stop macro do
advanced filter it works . I recorded advanced filter and put in macro which
then fails but worked while recording.
below is appropiate part of macro
Columns("A:G").Select
Range("A:G").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"I1:I2"), CopyToRange:=Range("K1"), Unique:=False
Any ideas ?
Thank you
Tina
 
Reply With Quote
 
 
 
 
tina
Guest
Posts: n/a
 
      17th Nov 2009
Thank you for the reply Joel
unfortunatly exactly same result
the data is from a microsft query but I copied and paste special values to
new sheet and copied new macro of advanced filter while copying it worked
when ran after failed
so weird
Regards
Tina


"joel" wrote:

>
> See if these changes help
>
> with ActiveSheet
> .Columns("A:G").AdvancedFilter Action:=xlFilterCopy, _
> CriteriaRange:=.Range("I1:I2"), _
> CopyToRange:=.Range("K1"), Unique:=False
> end with
>
>
> --
> joel
> ------------------------------------------------------------------------
> joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
> View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=154699
>
> Microsoft Office Help
>
> .
>

 
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
MS Office 2007 update junk email filter (KB977839) avids517 Microsoft Outlook Discussion 1 14th Jan 2010 10:45 PM
Advanced Filter by Macro does not work anymore under Excel 2007 - Help ! Sagace Microsoft Excel Discussion 3 5th Jun 2008 06:20 PM
Office 2007 Filter Copy Issue anshuman Microsoft Excel Programming 0 18th Aug 2007 08:08 AM
OFFICE 2007 ENTERPRISE UG VL (OFFICE-SOLUTION), PROJECT 2007, PUBLISHER 2007, BRITANNICA 2007, other 2006-11-26 new programs CDs 5200 - 5227, and new games CDs 1945 - 1959 kashumoto_tokugawa Windows XP General 0 26th Nov 2006 12:09 PM
Excel 2007 Beta Advanced Filter Performance =?Utf-8?B?Ukhvb2Rua3Q=?= Microsoft Excel Misc 1 12th Aug 2006 10:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:22 AM.