+ Reply to Thread
Results 1 to 13 of 13

adding or deleting in multiple sheets

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    adding or deleting in multiple sheets

    Hello all,

    I have a workbook with multiple worksheets,

    The first sheet (Master) is a list of names, the other sheets are also lists of names made up from the master sheet and detail different qualifications that each person has. So each list may not contain all the names and are detailed on different rows.
    What I would like to do is delete or add a name to the master sheet and in doing so delete or add the name to all the other sheets
    Any advice on the best approach greatly received

    Kevin

  2. #2
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: adding or deleting in multiple sheets

    Sir can you please attach a example sheet

  3. #3
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: adding or deleting in multiple sheets

    Thank you please see attached

    KevinTest sheet.xlsx

  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,939

    Re: adding or deleting in multiple sheets

    what would be the basis for having a name appear on "this" sheet or "that" sheet?
    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

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: adding or deleting in multiple sheets

    This is one way of doing what you want. It involves having one row for each qualification that each individual has. The individual worksheets for each qualification then uses the qualification on the Master worksheet to extract the correct records for that qualification.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: adding or deleting in multiple sheets

    This is a variation of the first submission. Each qualification has its own column on the Master worksheet and each name has only 1 row.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: adding or deleting in multiple sheets

    Quote Originally Posted by FDibbins View Post
    what would be the basis for having a name appear on "this" sheet or "that" sheet?
    Each sheet has to be printed and displayed at certain times/places. The master list is just a record of everybody. The other sheet have additional information in them such as renewal dates etc, the goal is to have everybody trained for everything at some point.

    Kevin

  8. #8
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: adding or deleting in multiple sheets

    Quote Originally Posted by newdoverman View Post
    This is a variation of the first submission. Each qualification has its own column on the Master worksheet and each name has only 1 row.
    Newdoverman,

    Thank you
    Would it be possible to add a name to the master sheet and have it appear on all the other sheets?

    Thanks again
    Kevin

  9. #9
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: adding or deleting in multiple sheets

    Quote Originally Posted by Excelski View Post
    Would it be possible to add a name to the master sheet and have it appear on all the other sheets?
    Here is a VBA solution to achieve this. See if this helps...

    Right click on Master Sheet Tab --> View Code --> Paste the code given below on the code window --> Save your workbook as Excel Macro-Enabled Workbook.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: adding or deleting in multiple sheets

    Quote Originally Posted by Excelski View Post
    Newdoverman,

    Would it be possible to add a name to the master sheet and have it appear on all the other sheets?

    Kevin
    If you add a name with a qualification(s), that name will be added to the correct worksheet(s). If the name has all the qualifications, and those qualifications are added to the name it will be added to all the worksheets. Both forms of the file will do this. The presentations are different that's all.

    Adding a name without a qualification is useless as there is no logic behind what qualification(s) the name belongs to.

  11. #11
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: adding or deleting in multiple sheets

    Quote Originally Posted by newdoverman View Post
    If you add a name with a qualification(s), that name will be added to the correct worksheet(s). If the name has all the qualifications, and those qualifications are added to the name it will be added to all the worksheets. Both forms of the file will do this. The presentations are different that's all.

    Adding a name without a qualification is useless as there is no logic behind what qualification(s) the name belongs to.
    Thank you

    Kevin

  12. #12
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: adding or deleting in multiple sheets

    Quote Originally Posted by sktneer View Post
    Here is a VBA solution to achieve this. See if this helps...

    Right click on Master Sheet Tab --> View Code --> Paste the code given below on the code window --> Save your workbook as Excel Macro-Enabled Workbook.
    Please Login or Register  to view this content.
    Sktneer,

    Many thanks
    works great

    Regards

    Kevin

  13. #13
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: adding or deleting in multiple sheets

    You're welcome.

    If that takes care of your original question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.

+ 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. Adding rows to multiple sheets when adding new item using DataForm
    By pandora1a2b in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-11-2014, 01:00 PM
  2. VBA Adding and Deleting Sheets according to a list
    By miconmicon in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-01-2013, 08:13 AM
  3. Replicated adding/deleting rows on seperate sheets
    By hlep in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-23-2012, 05:41 AM
  4. Replies: 1
    Last Post: 05-21-2012, 03:00 AM
  5. Adding And Deleting Sheets
    By Anice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2006, 10:55 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