Select All Cells With Formula In It

Let say we want to distinguish between ordinary cells and cells with formula in it, so we give a special background color to the cells with formula.

For doing it manually is time consuming, especially on Excel Worksheet with large of cells with formula in it (usually a very complex worksheet).

The following vba macro code will do the trick for us.

Sub SelectAllCellsWithFormula()

    'select all cell with formula
    Cells.SpecialCells(xlCellTypeFormulas).Select

    'change cell background color
    With Selection.Interior
        .Pattern = xlSolid
        .PatternColorIndex = xlAutomatic
        .ThemeColor = xlThemeColorAccent1
        .TintAndShade = 0.399975585192419
        .PatternTintAndShade = 0
    End With

End Sub

FIN

This entry was posted in Cells and Range and tagged , , , . Bookmark the permalink.

778 Responses to Select All Cells With Formula In It

  1. Pingback: Software

  2. Pingback: Digital Cameras

  3. Pingback: Free IPad3

  4. Pingback: wrinkles

  5. Pingback: read about samurai grill

  6. Pingback: scrapebox list

  7. Pingback: jump button

  8. Pingback: fast payday loans

  9. Pingback: archiwizacja online

  10. Pingback: retail design companies

  11. Pingback: does whey protein work

  12. Pingback: discount medical supplies

  13. Pingback: payday loans uk

  14. Pingback: link

  15. Pingback: modelling agencies

  16. Pingback: url

  17. Pingback: gogo games

  18. Pingback: tv live

  19. Pingback: click for weight watchers

  20. Pingback: the link

  21. Pingback: Symbol LS2208 Barcode Scanner

  22. Pingback: buy list

  23. Pingback: servis char

  24. Pingback: IM Lobby

  25. Pingback: go

  26. Pingback: promoting and celebrating Virginia creativity

  27. Pingback: duluth tree service

  28. Pingback: painter brisbane

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>