Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Div. F-II
 
Posts: n/a
Default 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   Report Post  
Jim May
 
Posts: n/a
Default

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   Report Post  
Jim May
 
Posts: n/a
Default

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   Report Post  
Ajit Munj
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I alter plot area colour in a chart without a mouse? debbiecatal Charts and Charting in Excel 2 May 30th 05 04:11 AM
Calculating the Area of objects in Feet and Inches Sip8316 Excel Discussion (Misc queries) 7 May 23rd 05 09:19 PM
I cannot drag a Pivot Table field into the page area KimboR Excel Discussion (Misc queries) 2 February 23rd 05 02:29 PM
Printing - Have to set print area 1 column further than necessary STUART BISSET Excel Discussion (Misc queries) 0 January 24th 05 07:59 PM
Bar Chart Label Sizes [email protected] Charts and Charting in Excel 2 December 27th 04 03:19 PM


All times are GMT +1. The time now is 02:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"