Results 1 to 4 of 4

How to show blanks cells in this excel macro filter ?any idea?

Threaded View

  1. #1
    Registered User
    Join Date
    09-24-2011
    Location
    Yemen
    MS-Off Ver
    365
    Posts
    77

    How to show blanks cells in this excel macro filter ?any idea?

     
    Sub filtername_Click()
    
    
    Dim crit As String, ws As Worksheet
    
    crit = Application.InputBox("Enter filter text")
    
    For Each ws In ActiveWorkbook.Worksheets
    
    ws.Range("A3:A500").AutoFilter
    
    ws.Columns("A:A").AutoFilter Field:=1, Criteria1:="*" & crit & "*", Operator:=xlAnd
    
    Next ws
    
    End Sub
    Last edited by meonly123; 07-16-2014 at 01:27 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro Coding to show on Rows with blanks in certain Cell
    By Cupragsw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2013, 11:44 AM
  2. [SOLVED] Auto Filter error in VBA no idea why its happening
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-10-2013, 08:57 AM
  3. [SOLVED] Removing blanks where blanks show blank but are code to show blank.
    By markDuffy in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-08-2013, 05:34 AM
  4. Filter non-blanks and replace cells
    By imdl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2011, 02:37 PM
  5. Is updating Excel cells from multiple threads a bad idea?
    By Hans Merkl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2005, 04:35 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