+ Reply to Thread
Results 1 to 4 of 4

listing variables and their dependents

  1. #1
    Registered User
    Join Date
    06-23-2015
    Location
    wisconsin USA
    MS-Off Ver
    13
    Posts
    59

    listing variables and their dependents

    I have some code which will list all variables in a workbook and the cells they reference.
    I now need to list the variables and all cells which reference them.
    I saw one reference in the forum for doing that but the link doesn't work.
    Can someone post the code or provide a valid link?

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: listing variables and their dependents

    Try the Wayback machine (browser search will show you how to reach it.) Or, post the bad link here. We're pretty good at sleuthing and snooping.
    Pete

  3. #3
    Registered User
    Join Date
    06-23-2015
    Location
    wisconsin USA
    MS-Off Ver
    13
    Posts
    59

    Re: listing variables and their dependents

    Here's the post with a possible solution but the link doesn't work

    ------------------

    Re: how do trace dependents for all cells at once?
    Ian,

    There is some code of mine here that might do what you want...

    http://makeashorterlink.com/?L5F24173B

    ' Finds worksheet formulas on each sheet in the active workbook.
    'Adds a new worksheet and lists all formulas found and their cell addresses,
    ' values, precedents and dependents.
    ' Formulas that have error values will also appear on the list.

    Regards,
    Jim Cone
    San Francisco, USA

    -------------------------

  4. #4
    Registered User
    Join Date
    06-23-2015
    Location
    wisconsin USA
    MS-Off Ver
    13
    Posts
    59

    Re: listing variables and their dependents

    I'm trying this code:

    Please Login or Register  to view this content.
    The worksheet is protected but unprotected at the beginning of the subroutine. If I don't unprotect it again before the above statement, it says I can't use that function on a protected sheet.

    In addition, the .Dependents property doesn't trace remote references. It only shows where a variable is used on the worksheet where it's defined.

    Is there a better way?
    Last edited by dr01allen; 06-03-2016 at 01:41 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. [SOLVED] Complex setting for looking up and listing based on 5 variables
    By Fno in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-08-2016, 11:46 AM
  2. [SOLVED] Can I get a listing of all "variables" in a form?
    By Skotzmun in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-13-2013, 06:25 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. Replies: 3
    Last Post: 01-01-2011, 12:08 AM
  5. Highlight cells which have no dependents or duplicate dependents
    By Ali-imran in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-08-2009, 09:02 AM
  6. Replies: 0
    Last Post: 04-13-2006, 07:25 AM
  7. [SOLVED] Dependents
    By Geoff in forum Excel General
    Replies: 0
    Last Post: 06-10-2005, 12: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