+ Reply to Thread
Results 1 to 2 of 2

Access worksheets whos name occur in a cell range list

  1. #1
    Registered User
    Join Date
    12-28-2010
    Location
    London
    MS-Off Ver
    Excel 365
    Posts
    72

    Access worksheets whos name occur in a cell range list

    I have a spreadsheet that routinely need some updating as names will change, and entries need clearing out. Some sheets are protected.
    To simply the explanation, lets say I have four worksheets

    https://www.dropbox.com/s/eu01lbaufb...sted.xlsx?dl=0

    WS “Names” – this contains a list of users in cells
    A1 = Adam
    A2 = Barry
    A3 = Charlie
    A4 = Blank
    A5 = Blank
    WS “Adam” -
    WS “Barry”
    WS “Charlie”

    (ie the worksheets are the same as the entries in the “Names” list, with provision for two spare names to be added when needed)

    Adam, Barry and Charlie sheets regularly change according to reflect changes in users (ie updates to the names list A1:A5
    Adam, Barry and Charlie worksheets, are all similar in structure, and all will need

    1) Worksheets unprotected (no password)
    2) Cell contents A4:C25 deleted
    3) The formula “=sum(A4+B4)” populated in cell C4
    4) The above formula dragged down to C25 (so that the cell references increment)
    5) Cell contents F4:G12 deleted
    6) Worksheet protected (no password) (im OK in setting the parameters myself)

    I am stumped by the change of user names affecting the worksheet names. I’m sure this can be done by referencing the list in “Names” but am well out of my depth.

    Is there/What is the, code that could access the specific worksheets listed on the "names" worksheet and apply the above listed actions

    Any help or pointers greatly appreciated. Many thanks
    Last edited by _MANNY_; 10-15-2016 at 10:36 AM. Reason: Original post corrupted on load

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Access worksheets whos name occur in a cell range list

    What is your question?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] List consecutive shifts that occur within timeframe
    By Marbleking in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-29-2016, 11:00 AM
  2. Replies: 6
    Last Post: 01-08-2016, 04:19 PM
  3. [SOLVED] Check same cell on range of worksheets and if not blank, copy into a list on another sheet
    By eddiecruz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-14-2015, 05:14 PM
  4. Putting value's which occur most on top of the list
    By Ozzyman2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-19-2013, 09:11 AM
  5. Refer to a windown whos name is derived from a cell value in a formula
    By samnic in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2010, 04:38 PM
  6. [SOLVED] Recalculating Prize List when ties occur
    By elevdown in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2008, 03:52 PM
  7. [SOLVED] Get excel to list values that occur within raw data
    By dennis34 in forum Excel General
    Replies: 2
    Last Post: 10-05-2005, 08:05 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