Thread
:
change color of all cells with formula or are part of a formula
View Single Post
#
4
Posted to microsoft.public.excel.misc
Ron Rosenfeld
external usenet poster
Posts: 5,651
change color of all cells with formula or are part of a formula
On Sun, 27 Jan 2008 09:37:27 -0800 (PST),
wrote:
is it possible to change the color of all cells that contain a formula
or are part of a formula???
if so, how would i do that?
You could use a macro. Run the macro below when the Sheet you wish to modify
is active:
=======================
Option Explicit
Sub ColorFormulas()
Dim c As Range
Dim rng As Range
Set rng = Cells.SpecialCells(xlCellTypeFormulas)
For Each c In rng
c.Interior.Color = vbYellow
Next c
End Sub
======================
--ron
Reply With Quote
Ron Rosenfeld
View Public Profile
Find all posts by Ron Rosenfeld