+ Reply to Thread
Results 1 to 4 of 4

Highlight Cells that are referenced by other sheets

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    U.K
    MS-Off Ver
    Excel 2016
    Posts
    101

    Highlight Cells that are referenced by other sheets

    Hi all,

    I have about 30 sheets (1,2,3 and so on) with data in and 1 sheet (main) that combines all that data into 1 sheet.

    Is there a way i can have two buttons that will toggle the ability to highlight all cells that reference another sheet.

    Eg: If cell A1 on the (main) sheet has ='Sheet1'!B1 then highlight cell A1 on the main sheet.

    One button will highlight and the other will un-highlight.

    I need to do this on the main sheet for references to all other sheets.
    Last edited by randall78; 08-07-2020 at 05:44 PM.

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

    Re: Highlight Cell

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do in more detail (two words won’t do).

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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.

  3. #3
    Forum Contributor
    Join Date
    06-25-2012
    Location
    U.K
    MS-Off Ver
    Excel 2016
    Posts
    101

    Re: Highlight Cell

    I would include more details, but there is not enough room in a title as my query is so specific.

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Highlight Cells that are referenced by other sheets

    Randall,

    Add a Module and post this, and add button on the Main sheet.

    It cycles through all the "used range" on the Main sheet, and finds all cells with a formula. If the formula includes the word "Sheet", it fills the cell.

    Please Login or Register  to view this content.
    Two points to consider:
    If any cells on the Main sheet include the words "Main sheet" in the formula, they will be filled as well!
    This "highlight" may conflict with any other Conditional Formatting you have in the cells affected

    Ochimus
    Last edited by Ochimus; 08-07-2020 at 06:43 PM.

+ 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. dynamic cell updates based on highlight colour of previous cell
    By smytha6 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2020, 05:31 AM
  2. Formula to validate cell values and highlight another cell based on results
    By heatherlockhart in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2019, 03:24 PM
  3. Auto highlight row & column of active cell without deleting existing cell colour
    By claire_wilson in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-22-2017, 08:31 PM
  4. Replies: 3
    Last Post: 09-16-2017, 01:03 PM
  5. Replies: 1
    Last Post: 01-20-2014, 03:52 AM
  6. [SOLVED] Highlight active cell, un-highlight when no longer active?
    By cdterry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2013, 02:39 PM
  7. Replies: 5
    Last Post: 05-27-2005, 02: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