+ Reply to Thread
Results 1 to 6 of 6

[solved] Macro to apply formatting to each referenced cell of a formula

  1. #1
    Registered User
    Join Date
    01-30-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    50

    [solved] Macro to apply formatting to each referenced cell of a formula

    Hi All,

    Say I have a formula that sums data across sheets. I want to highlight (or bold, ultimately format) each cell that is referenced in that formula. I want it to do this through a macro

    How could I accomplish this?
    Last edited by raystafarian; 02-01-2012 at 03:46 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macro to apply formatting to each referenced cell of a formula

    Why? There's formula tracing tools or double click on the formula
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    01-30-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Macro to apply formatting to each referenced cell of a formula

    Quote Originally Posted by royUK View Post
    Why? There's formula tracing tools or double click on the formula
    right but if you switch sheets to go find the reference, the tracing disappears. Unless I'm doing it wrong.

    Ultimately say I want them all to be Bold with yellow fill, I can't alter the format during tracing, it will change the formula

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macro to apply formatting to each referenced cell of a formula

    See if Aaron Blood's Formula Auditing tool helps

  5. #5
    Registered User
    Join Date
    01-30-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Macro to apply formatting to each referenced cell of a formula

    Quote Originally Posted by royUK View Post
    See if Aaron Blood's Formula Auditing tool helps
    Perfect, thanks

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macro to apply formatting to each referenced cell of a formula

    Thanks for the rep, please mark this Thread Solved & maybe send Aaron a thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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