+ Reply to Thread
Results 1 to 5 of 5

Advanced Filter - Blank Rows

  1. #1
    Registered User
    Join Date
    04-09-2008
    Posts
    65

    Advanced Filter - Blank Rows

    Advanced Filter Problem

    I am using some VBA code that is using the Advanced Filter…

    I have now been changing a few parts around the sheet, which is now the master sheet has a row that is blank separating the data.

    When I run the macro it creates a Temp sheet where all the unique fields go into so it can sort all the data out.

    The problem is that in the Temp sheet it leaves a space between the first work centre and the second one all the others are fine.

    See the Example spreadsheet, this is the point where it fails … I am trying to run the Macro “SortDataIdvWC”

    Any help with this would be great…

    Many Thanks in advance…
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You can't run any Filter on a sheet laid out like your Full OverView, to Filter a table there should be no blank rows or columns between data.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    04-09-2008
    Posts
    65

    Thanks

    Sort of red that on different websites, was looking for solid confirmation...

    Thank You...

  4. #4
    stephenb
    Guest
    I'm not a super excel expert, however I was wondering if this may help -
    before creating the filter select all cells in the sheet and then create the filter. Not sure if this will help in your situation - let me know.

  5. #5
    Registered User
    Join Date
    06-30-2008
    Location
    romanaia
    Posts
    1
    Hello people!
    Can anyone help me in this issue?
    This is the script (bellow) obtained with macrorecorder and the problem is that I want the results of the advanced filter applied in the workbook "center" to be copied to another workbook (where from I started the recorder in fact)
    The macro cannot be ran if the "center" is not open.


    Workbooks("center.xls").Sheets("base CC").Columns("A:S"). _
    AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Workbooks( _
    "center.xls").Sheets("criteria").Range("A1:S2"), CopyToRange:= _
    Range("A5:S5"), Unique:=False
    End Sub

+ 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