+ Reply to Thread
Results 1 to 5 of 5

Delete just the filtered rows and not the hidden ones.

  1. #1
    Registered User
    Join Date
    09-15-2016
    Location
    New Orleans, USA
    MS-Off Ver
    2007
    Posts
    5

    Delete just the filtered rows and not the hidden ones.

    Hello All,

    I am new to the forum. I am running into a problem in excel 2007. When I delete the filtered rows, the hidden rows are getting deleted. I did not have this problem earlier. So not sure what is happening. Is it because it is 2007 or do I have to activate any other features? Driving me crazy. The filtered rows are filtered on a no. of criteria. I tried using the filter under date, but that is not working.

    Please advise.

    Thanks a lot,
    Indu

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Delete just the filtered rows and not the hidden ones.

    Hi, welcome to the forum

    I am unable to replicate your problem. For me, deleting visible rows in a filtered list, leaves teh hidden rows undeleted.

    Can you upload a sample file please?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-15-2016
    Location
    New Orleans, USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Delete just the filtered rows and not the hidden ones.

    Attached is a file and I have put the filter on. When I delete the rows it deletes the hidden rows. Thanks for the help.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Delete just the filtered rows and not the hidden ones.

    I deleted what was showing, then removed the filter and the rest of the data was still there?

    Before deleting...
    A
    B
    2
    Origin Document Number
    3
    History 125312128-1
    4
    12651297
    5
    History 1256775-1
    6
    1268659
    7
    History 1258415-3
    8
    1274566
    9
    History 12591312-1
    10
    12751257
    11
    History 1259343-1
    12
    1275586
    13
    History 1260946-1
    14
    12776012
    15
    History 1261791-1
    16
    1278461
    17
    History 1261910-1
    18
    1278577
    19
    History 1275351-1
    20
    12998912
    21
    History 12812935-1
    22
    31212415
    23
    History 1284800-1
    24
    3123538
    25
    History 12851261-1
    26
    31240124
    27
    History 1286981-1
    28
    3125951
    29
    History 1289458-1
    30
    3128771
    31
    History 1290888-1
    32
    331335
    33
    System:
    34
    User Date:
    35
    Payables Management
    36
    Vendor ID:
    37
    * Voided
    38
    Origin Document Number
    39
    ------------------------------------------------------------------------------- ----------------------------------------------------
    40
    Voucher/Payment Number Due Date
    41
    ------------------------------------------------------------------------------- ----------------------------------------------------
    42
    History 1290889-1
    43
    331336
    44
    History 1291619-1
    45
    331212128
    46
    *History 1290888RTN-1R
    47
    3331281
    48
    History 12941240-12
    49
    335355
    50
    History 12966123-1
    51
    3383912
    52
    History 1296683-1
    53
    339599
    54
    *History 1290888RTN-1R REDO
    55
    404574
    56
    History 1290888RTN-1R REDO12
    57
    404646
    58
    History 303709-1
    59
    349087
    60
    History 31127128-1
    61
    358584
    62
    History 3112794-1
    63
    358654
    64
    History 3133121-1
    65
    359300
    66
    History 314135-1
    67
    3601286
    68
    History 31412123-1
    69
    360399
    70
    History 316411-1
    71
    361212512
    72
    History 316815-1
    73
    3612705
    74
    History 3123301-1
    75
    371637
    76
    History
    77
    3881258
    5/31/12007
    78
    System:
    79
    User Date: 9/14/12016
    80
    Payables Management
    81
    Vendor ID:
    82
    * Voided
    83
    Origin Document Number
    84
    ------------------------------------------------------------------------------- ----------------------------------------------------
    85
    Voucher/Payment Number Due Date
    86
    ------------------------------------------------------------------------------- ----------------------------------------------------
    87
    88


    After deleting rows...
    A
    B
    C
    2
    Origin Document Number
    3
    History 125312128-1
    4
    12651297
    5
    History 1256775-1
    6
    1268659
    7
    History 1258415-3
    8
    1274566
    9
    History 12591312-1
    10
    12751257
    11
    History 1259343-1
    12
    1275586
    13
    History 1260946-1
    14
    12776012
    15
    History 1261791-1
    16
    1278461
    17
    History 1261910-1
    18
    1278577
    19
    History 1275351-1
    20
    12998912
    21
    History 12812935-1
    22
    31212415
    23
    History 1284800-1
    24
    3123538
    25
    History 12851261-1
    26
    31240124
    27
    History 1286981-1
    28
    3125951
    29
    History 1289458-1
    30
    3128771
    31
    History 1290888-1
    32
    331335
    33
    History 1290889-1
    34
    331336
    35
    History 1291619-1

  5. #5
    Registered User
    Join Date
    09-15-2016
    Location
    New Orleans, USA
    MS-Off Ver
    2007
    Posts
    5

    Re: Delete just the filtered rows and not the hidden ones.

    It should have been till row 67 which is the number 3881258. So it is deleting everything that comes after the filter from row 33 to 77.

+ 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. Find last row including hidden and filtered rows
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 09-04-2019, 12:08 AM
  2. Replies: 10
    Last Post: 06-07-2018, 04:16 PM
  3. Replies: 1
    Last Post: 04-08-2014, 02:50 AM
  4. Keep hidden rows hidden, in a protected, filtered worksheet
    By djp630 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2014, 10:22 PM
  5. Replies: 4
    Last Post: 06-11-2010, 03:29 PM
  6. [SOLVED] hidden/filtered rows
    By Mike in forum Excel General
    Replies: 0
    Last Post: 04-19-2006, 05:35 PM
  7. [SOLVED] Unique Count sensitive to hidden/filtered rows
    By Ian in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-12-2005, 04:06 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