+ Reply to Thread
Results 1 to 6 of 6

delete for multi sheets

  1. #1
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    delete for multi sheets

    Hi all,

    I have code that filters the data and delete the unwanted “R” .

    It is currently doing that activity for one sheet"Andrew", but I wanted that to be done for more than 1 for the sheets “Andrew”, “sam”,”Dam”,”Tam”,”Kam”

    Please Login or Register  to view this content.

    can some one help

  2. #2
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: delete for multi sheets

    Hi,

    May try this


    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: delete for multi sheets

    Test something like that.
    Please Login or Register  to view this content.
    Best Regards,
    Maras.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,164

    Re: delete for multi sheets

    Another option
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    Re: delete for multi sheets

    Thanks guys it really worked like a charm and is there a way I can set a dynamic range for columns .currently it is hardcoded , I wanted it to be dynamic range for columns

    Please Login or Register  to view this content.
    Last edited by AliGW; 07-30-2019 at 01:25 AM. Reason: Code tags corrected.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,164

    Re: delete for multi sheets

    If filtering just col A, there is no need for a dynamic range, you can just use
    Please Login or Register  to view this content.
    as long as you have no blank rows/columns it should filter the entire data.

+ 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. Copy Multi Rows From Multi Sheets Based On Column Value And Create New Workbooks
    By Huskersippi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2017, 04:51 PM
  2. Delete cell by multi condition with And Or
    By kimudao in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2015, 12:34 AM
  3. [SOLVED] multi sheets
    By peter renton in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2013, 09:06 AM
  4. Delete Autofiltered rows from multi-column Listbox
    By kriswhiteley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2012, 08:46 AM
  5. Delete multi columns
    By loay in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-22-2006, 02:45 PM
  6. Macro to delete sheets and saves remaining file does not properly delete module
    By pherrero in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2005, 08:12 PM
  7. [SOLVED] Re: Macro to delete sheets and saves remaining file does not properly delete module
    By pherrero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2005, 01:05 PM

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