+ Reply to Thread
Results 1 to 4 of 4

remove someone completely from workbook

  1. #1
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    541

    remove someone completely from workbook

    I have a workbook that is used in a warehouse listing all the associates. The sheet is very large consisting of 25+ individual tabs with the associates spread throughout the workbook in various capacities depending on the tab. Of course when an associate gets terminated or moves on to another job it is necessary to go into the workbook and remove them one page at a time. This can take a while.
    I would like to create a macro that can be run to scan the entire workbook and delete any row that contains that persons name.
    Any thoughts?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,432

    Re: remove someone completely from workbook

    Any thoughts?
    Post a sample workbook wih some typical data and indicate how you would want to identify the individual ... and what you want to happen to each record for that individual.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    541

    Re: remove someone completely from workbook

    Here is a basic workbook.
    On the data sheet page you would enter the name of the assocaite to remove and run the macro.
    The macro would then scan the attendance, shift, and sheet 3 pages and remove the row with that associate in it from the workbook
    Attached Files Attached Files

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,438

    Re: remove someone completely from workbook

    .
    Paste in a Routine Module, call from Command Button on Sheet "Data Sheet" :

    Please Login or Register  to view this content.

+ 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] How can I completely close a specific workbook without closing other open workbooks
    By Sc0ut in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2016, 04:06 PM
  2. Completely remove/delete all the external links (Break Links)
    By SunOffice in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2014, 05:31 AM
  3. [SOLVED] How to remove a deleted named range completely
    By megaiooo in forum Excel General
    Replies: 8
    Last Post: 08-16-2013, 09:01 PM
  4. [SOLVED] Delete Rows - as in remove them from the sheet completely?
    By MBlaster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2012, 05:08 PM
  5. How do I "Completely" remove a macro
    By hawk2020 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2011, 04:08 PM
  6. Easiest way to completely remove a macro?
    By buzzbee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-30-2009, 11:40 AM
  7. PROJECT LOCKDOWN: Completely Protect My Workbook
    By sowetoddid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2005, 08:52 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