ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   macro to find all formulas in a workbook (https://www.excelbanter.com/excel-discussion-misc-queries/135732-macro-find-all-formulas-workbook.html)

Dave F

macro to find all formulas in a workbook
 
Anyone have a macro that highlights all the formulas in a workbook and shades
the cell a given color?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.

Gary''s Student

macro to find all formulas in a workbook
 
For the active sheet in yellow:

Sub dave()
Set r = ActiveSheet.UsedRange.SpecialCells(xlCellTypeFormu las)
r.Interior.ColorIndex = 6
End Sub

--
Gary''s Student
gsnu200711


Teethless mama

macro to find all formulas in a workbook
 
click F5 Special select Formulas Ok select any color you want Enter


"Dave F" wrote:

Anyone have a macro that highlights all the formulas in a workbook and shades
the cell a given color?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.



All times are GMT +1. The time now is 02:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com