Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
It seems like it should be possible to do this with conditional formatting,
but i can't find a function that detects whether a cell contains a formula. any help on this is much appreciated. thanks. |
#2
![]() |
|||
|
|||
![]()
You would need a UDF for that, nothing built in
http://www.mvps.org/dmcritchie/excel/formula.htm Regards, Peo Sjoblom "peter" wrote: It seems like it should be possible to do this with conditional formatting, but i can't find a function that detects whether a cell contains a formula. any help on this is much appreciated. thanks. |
#3
![]() |
|||
|
|||
![]()
Thanks much,
The HasFormula function on that link did the trick. Peter "Peo Sjoblom" wrote: You would need a UDF for that, nothing built in http://www.mvps.org/dmcritchie/excel/formula.htm Regards, Peo Sjoblom "peter" wrote: It seems like it should be possible to do this with conditional formatting, but i can't find a function that detects whether a cell contains a formula. any help on this is much appreciated. thanks. |
#4
![]() |
|||
|
|||
![]()
peter
Paste this UDF to a general module in your workbook. Function IsFormula(Cell) Application.Volatile IsFormula = Cell.HasFormula End Function FormatConditional FormattingFormula is: =IsFormula(A1) Pick a pattern and OK your way out. If not familiar with VBA and macros, see David McRitchie's site for more on "getting started". http://www.mvps.org/dmcritchie/excel/getstarted.htm In the meantime.......... First...create a backup copy of your original workbook. To create a General Module, hit ALT + F11 to open the Visual Basic Editor. Hit CRTL + R to open Project Explorer. Find your workbook/project and select it. Right-click and InsertModule. Paste the code in there. Save the workbook and hit ALT + Q to return to your workbook. Gord Dibben Excel MVP On Mon, 11 Apr 2005 12:51:04 -0700, "peter" wrote: It seems like it should be possible to do this with conditional formatting, but i can't find a function that detects whether a cell contains a formula. any help on this is much appreciated. thanks. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
http://j-walk.com/ss/excel/usertips/tip045.htm
"peter" wrote: It seems like it should be possible to do this with conditional formatting, but i can't find a function that detects whether a cell contains a formula. any help on this is much appreciated. thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need a 1 Column multiplication formula for 2600 cells. How? | Excel Worksheet Functions | |||
How to create a formula for a range of cells | Excel Worksheet Functions | |||
How do i select different cells to be use in a formula. | Excel Discussion (Misc queries) | |||
how do I create a formula to seperate name into two cells (last, . | Excel Discussion (Misc queries) | |||
Using color to ignore cells in a formula????? | Excel Discussion (Misc queries) |