+ Reply to Thread
Results 1 to 6 of 6

Filter and Delete Rows

  1. #1
    Forum Contributor
    Join Date
    07-18-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    192

    Filter and Delete Rows

    Hi Friends

    In the attached, i want to filter Column F by 0 and remove those rows. Can you please help me to write macros? When I record, it doesnt do the job property due to change of 0 in different rows.

    Is it possible to write without Dim function just to make it easy?

    Thanks a lot in advance
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,522

    Re: Filter and Delete Rows

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-18-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Filter and Delete Rows

    Thanks a lot Jindon

    Can you please advise what can be amended to include multiple instead of just one like "-", "100", "200" etc.

    Thanks again for your help

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Filter and Delete Rows

    Like this.

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,522

    Re: Filter and Delete Rows

    Quote Originally Posted by arpanpanchal View Post
    Thanks a lot Jindon

    Can you please advise what can be amended to include multiple instead of just one like "-", "100", "200" etc.

    Thanks again for your help
    Should be like this
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-18-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Filter and Delete Rows

    Thanks a lot everyone..This is great

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA Code to Filter and Delete Rows
    By gbloemke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2013, 05:54 PM
  2. Delete Rows hidden by either Auto Filter and Advanced Filter
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2013, 10:29 AM
  3. [SOLVED] Filter/Delete Rows
    By ryannjohnsonn in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-17-2012, 04:14 PM
  4. Delete rows after filter with VBA
    By cmb80 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2012, 08:54 PM
  5. Filter rows and delete duplicates
    By lunautic in forum Excel General
    Replies: 5
    Last Post: 04-07-2010, 05:20 PM
  6. Delete & Merge Columns,Delete Rows with filter, etc
    By traderindia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2009, 02:12 AM
  7. Delete Rows After a filter
    By koda86 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-25-2008, 05:02 AM
  8. Delete Rows After a filter
    By koda86 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2008, 09:20 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