Consulting

Results 1 to 10 of 10

Thread: Advanced cell search... ?

  1. #1
    VBAX Tutor cmpgeek's Avatar
    Joined
    Jun 2004
    Location
    Athens, Ga USA
    Posts
    204
    Location

    Advanced cell search... ?

    Is there a way to tell if a cell is used in an equation anywhere on the spreadsheet? That is - outside of deleting the value within the cell and then looking for the #D/V/O/# messages (or whatever that is... i cant remember it right now)...

    i have a spreadsheet that was emailed to me that has a cell with a value in it that is "off by itself"... the OCD in me makes it stick out like a sore thumb, but if it is there for a purpose i can deal with it. I am wondering if there is a way to click on that cell and run a code or something and have Excel check the spreadsheet and see if there is an equation or something that looks at the cell for information... That way, if nothing is looking at it, then i can delete it!

    (this is a 50+ page workbook and the same cell is used in each one which makes me think that there IS something looking at it... i can deduce that if something is looking at it in one sheet - then it will be the same in all of them; but the wheels were already turning and got me wondering if such an ability exists...)

    thanks!

    nomi



    Life is like a jar of jalepenos... What you do with it today might burn your butt tomorrow....

  2. #2
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Hi Nomi,

    Better and faster than VBA, actually. Excel can do this natively!

    Click in the cell to select it. Go to the View Menu, choose Toolbars, and select Auditing. Click on the "Trace Dependents" button. If any arrows show up, it is used. If not, you can nuke it!

    (To get rid of the arrows, click the eraser button)

    Cheers,
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  3. #3
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    The feature Ken refers to is only avalable in 2000 and above. In 2000, you must manually enable the Toolbar, in 2002 and up, it is in the Tools menu --> Auditing. Very handy, I use it all the time.


    If you are looking for specific errors (or any), remember you can use the Goto command (F5) and choose Formulas -> Errors.

  4. #4
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Quote Originally Posted by firefytr
    The feature Ken refers to is only avalable in 2000 and above...
    Sorry, Zack... not true! You're right about having to get it by going to Tools|Auditing though.
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  5. #5
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Hey! Cool!! I don't remember finding that, but I am talking about my fledgling Excel days ... umm, my name is Zack, and I'm the new guy ..

    I love this place! I learn something new everyday!! Thanks Ken! Much appreciated!

  6. #6
    VBAX Tutor cmpgeek's Avatar
    Joined
    Jun 2004
    Location
    Athens, Ga USA
    Posts
    204
    Location
    Quote Originally Posted by firefytr
    Hey! Cool!! I don't remember finding that, but I am talking about my fledgling Excel days ... umm, my name is Zack, and I'm the new guy ..

    I love this place! I learn something new everyday!! Thanks Ken! Much appreciated!
    Zack, you can be the new guy - just dont take away my binkie! LOL

    and i am definitely with you on learning something new here everyday!

    thanks to you both!

    nomi



    Life is like a jar of jalepenos... What you do with it today might burn your butt tomorrow....

  7. #7
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Quote Originally Posted by firefytr
    Thanks Ken! Much appreciated!
    Not a problem. I don't get to correct you often though!

    In truth, I wish that I didn't know this, but am unfortunately still saddled with 97 on half of my systems at work! Just too much $$ to upgrade!

    So Nomi, did this work for you? Should we mark it solved?

    Cheers,
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  8. #8
    VBAX Mentor Brandtrock's Avatar
    Joined
    Jun 2004
    Location
    Titonka, IA
    Posts
    399
    Location
    Heeeeey you guuuuuuys!!! (a little Electric Company flashback, sorry)

    And you too Nomi,

    If you like the auditing tools Excel has, you should love this.

    Explode Auditing Tool (free download from Aaron Blood)

    I can't live without it. He got me hooked.

    HTH
    Brandtrock




  9. #9
    Moderator VBAX Guru Ken Puls's Avatar
    Joined
    Aug 2004
    Location
    Nanaimo, BC, Canada
    Posts
    4,001
    Location
    Hi Brandtrock,

    Thanks! Wasn't aware of that one... I think I might need more RAM... keep on adding add-ins!

    That does look pretty useful, although I might miss the pretty arrows...:rofl
    Ken Puls, CMA - Microsoft MVP (Excel)
    I hate it when my computer does what I tell it to, and not what I want it to.

    Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar

    This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!

    Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!





  10. #10
    VBAX Tutor cmpgeek's Avatar
    Joined
    Jun 2004
    Location
    Athens, Ga USA
    Posts
    204
    Location
    why yes Ken - we CAN marked this solved LOLOL



    Life is like a jar of jalepenos... What you do with it today might burn your butt tomorrow....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •