Results 1 to 5 of 5

VBA to filter multiple sheets

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-01-2008
    Location
    Perth, Australia
    MS-Off Ver
    Excel 365
    Posts
    135

    VBA to filter multiple sheets

    Hi All,

    I have a macro that filters all the sheets in a workbook based on a cell entry on sheet 1. The filter runs through Columns 1.

    This works quite well(other than flicker issues).

    The problem is I also need the filter to run through column K and show rows that have an empty cell.(i.e UnInvoiced) I have tried the below code, but it shows the empty formula rows below all data not the uninvoiced rows.
    ElseIf RLetter = "Uninvoiced" And w.AutoFilterMode Then
    w.Unprotect Password:="test"
    w.Range("K3").AutoFilter Field:=11, Criteria1:=""
    Please Help

    Cheers

    Adam
    Last edited by VBA Noob; 09-24-2008 at 01:24 AM. Reason: Poor title

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 05-28-2008, 03:12 AM
  2. Massive Sorting question.
    By Rgaherty in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 11-07-2007, 02:15 PM
  3. Separating CSV text from one column into sorted column
    By Terrance in forum Excel General
    Replies: 2
    Last Post: 11-02-2007, 10:39 AM
  4. looping issues
    By Marcus Gee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2007, 11:42 PM
  5. Replies: 5
    Last Post: 06-06-2007, 07:27 AM

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