Home |
Search |
Today's Posts |
#1
|
|||
|
|||
highlighting area used for formula - ajit
d1=sum(a1:b2), d3=sum(a3:b4)+c3
I want excel to highlight (fill colour) the cells which are included in sum formula. How can I do this? Some time when I double click the divider of two rows (faint line between two rows where cursor changes double headed) to autofit the height of row, it does not change automatically the height of that row containing a particular text. I have to manually drag it to adjust the height the row containing text. Why it is like this? |
#2
|
|||
|
|||
Paste this function into a standard module (adding it (Hasformula) to your
active functions list). Highlite the range, say D1:D3, then at the menu select Format, Conditional Formatting FormulaIs, =Hasformula(D1), your pattern choice, then OK, OK. Done. HTH "Div. F-II" wrote in message ... d1=sum(a1:b2), d3=sum(a3:b4)+c3 I want excel to highlight (fill colour) the cells which are included in sum formula. How can I do this? Some time when I double click the divider of two rows (faint line between two rows where cursor changes double headed) to autofit the height of row, it does not change automatically the height of that row containing a particular text. I have to manually drag it to adjust the height the row containing text. Why it is like this? |
#3
|
|||
|
|||
opps,
Function HasFormula(cell) HasFormula = cell.HasFormula End Function "Jim May" wrote in message news:D2Woe.66522$sy6.58876@lakeread04... Paste this function into a standard module (adding it (Hasformula) to your active functions list). Highlite the range, say D1:D3, then at the menu select Format, Conditional Formatting FormulaIs, =Hasformula(D1), your pattern choice, then OK, OK. Done. HTH "Div. F-II" wrote in message ... d1=sum(a1:b2), d3=sum(a3:b4)+c3 I want excel to highlight (fill colour) the cells which are included in sum formula. How can I do this? Some time when I double click the divider of two rows (faint line between two rows where cursor changes double headed) to autofit the height of row, it does not change automatically the height of that row containing a particular text. I have to manually drag it to adjust the height the row containing text. Why it is like this? |
#4
|
|||
|
|||
Hello Jim,
What do you mean by active function list?How to paste it into Standard Module? I copied your code and pasted it by : Tools Macro Visual Basic Editor saved the macro and followed your next instructions, but its not working.Where did I go wrong? I want to highligh (Fill Colour) the cells which are included in Formula e.g. if a1 contains the formula =b2+c3+d1:d3, then the cells b2,c3,d1:d3 should be highlighted with colour. Pl. guide. -- Knowldege is Power "Jim May" wrote: opps, Function HasFormula(cell) HasFormula = cell.HasFormula End Function "Jim May" wrote in message news:D2Woe.66522$sy6.58876@lakeread04... Paste this function into a standard module (adding it (Hasformula) to your active functions list). Highlite the range, say D1:D3, then at the menu select Format, Conditional Formatting FormulaIs, =Hasformula(D1), your pattern choice, then OK, OK. Done. HTH "Div. F-II" wrote in message ... d1=sum(a1:b2), d3=sum(a3:b4)+c3 I want excel to highlight (fill colour) the cells which are included in sum formula. How can I do this? Some time when I double click the divider of two rows (faint line between two rows where cursor changes double headed) to autofit the height of row, it does not change automatically the height of that row containing a particular text. I have to manually drag it to adjust the height the row containing text. Why it is like this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I alter plot area colour in a chart without a mouse? | Charts and Charting in Excel | |||
Calculating the Area of objects in Feet and Inches | Excel Discussion (Misc queries) | |||
I cannot drag a Pivot Table field into the page area | Excel Discussion (Misc queries) | |||
Printing - Have to set print area 1 column further than necessary | Excel Discussion (Misc queries) | |||
Bar Chart Label Sizes | Charts and Charting in Excel |