+ Reply to Thread
Results 1 to 3 of 3

Problems with Filter VisibleArea and IF statement

  1. #1
    Registered User
    Join Date
    08-05-2012
    Location
    London
    MS-Off Ver
    2010 and 2007
    Posts
    6

    Problems with Filter VisibleArea and IF statement

    Hi there,

    I was wondering if anybody can help me solve my problem or point me in right direction.
    I am trying to write a Macro that will filter specific data that uses Loop for filter criteria and then copy and paste to the next empty cell in another sheet after finding that specific criteria. I have attached a sample file with the code.

    I have a problem with Filter VisibleArea and If statement. When filter visible area is “nothing” then whole data is copied and pasted.

    Thanks for your help,

    Regards,

    Dacos
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Problems with Filter VisibleArea and IF statement

    Try the attached. My code is found below your code.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-05-2012
    Location
    London
    MS-Off Ver
    2010 and 2007
    Posts
    6

    Thumbs up Re: Problems with Filter VisibleArea and IF statement

    Thanks so much, works pefectly.

    Best regards.

    Dacos

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1