+ Reply to Thread
Results 1 to 5 of 5

Macro to show all Precedents & Dependents instantly

  1. #1
    Registered User
    Join Date
    02-04-2016
    Location
    Mumbai
    MS-Off Ver
    2013
    Posts
    3

    Exclamation Macro to show all Precedents & Dependents instantly

    Hi Forum

    Need help. I want to write a macro which when run will show all the precedents to a worksheet. And similarly another macro to show all the dependents of the worksheets.

    Can anyone help me out?

    Regards
    Nitin

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Macro to show all Precedents & Dependents instantly

    Hi,

    You'll need to define what YOU mean by precedents and dependents for worksheets. Those terms are usually associated with cells not worksheets.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-04-2016
    Location
    Mumbai
    MS-Off Ver
    2013
    Posts
    3

    Re: Macro to show all Precedents & Dependents instantly

    Yeah my bad. Okay to reword :-

    I want to know:-

    1.) Which all sheets in the workbook are referenced in the active sheet
    2.) And which all sheets are picking up data (or have references) from active sheet.

    One macro or two macros can do the job I suppose.

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Macro to show all Precedents & Dependents instantly

    Something like this should work.
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  5. #5
    Registered User
    Join Date
    02-04-2016
    Location
    Mumbai
    MS-Off Ver
    2013
    Posts
    3

    Re: Macro to show all Precedents & Dependents instantly

    Thank you Mike . Will this work for finding which all sheets are referencing the active sheet if i make few changes ? i.e. all the dependent cells outside the active sheet.

    Can you tell me which variables to change for doing the same?

+ 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. I want help to track precedents and dependents...
    By JayeshG in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2015, 12:41 PM
  2. Trace Dependents / Precedents arrow
    By CC_ITA in forum Excel General
    Replies: 0
    Last Post: 03-28-2014, 04:44 AM
  3. Listing Precedents/Dependents in a list box
    By learning2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2012, 05:21 PM
  4. Excel go to precedents/dependents hotkey.
    By quekbc in forum Excel General
    Replies: 0
    Last Post: 06-23-2011, 05:49 AM
  5. Precedents and Dependents
    By roy1987 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2009, 03:19 AM
  6. [SOLVED] trace all precedents or dependents
    By Dave F in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-10-2006, 11:00 PM
  7. [SOLVED] Trace Dependents and Precedents not working
    By Manish in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-11-2005, 05:06 PM

Tags for this Thread

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