A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

highlighting area used for formula - ajit



 
 
Thread Tools Display Modes
  #1  
Old June 6th, 2005, 11:13 AM
Div. F-II
external usenet poster
 
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  
Old June 6th, 2005, 11:58 AM
Jim May
external usenet poster
 
Posts: n/a
Default

Paste this function into a standard module (adding it (Hasformula) to your
active functions list).

Highlite the range, say D13, 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  
Old June 6th, 2005, 12:03 PM
Jim May
external usenet poster
 
Posts: n/a
Default

opps,
Function HasFormula(cell)
HasFormula = cell.HasFormula
End Function



"Jim May" wrote in message
news2Woe.66522$sy6.58876@lakeread04...
Paste this function into a standard module (adding it (Hasformula) to your
active functions list).

Highlite the range, say D13, 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  
Old June 9th, 2005, 11:44 AM
Ajit Munj
external usenet poster
 
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
news2Woe.66522$sy6.58876@lakeread04...
Paste this function into a standard module (adding it (Hasformula) to your
active functions list).

Highlite the range, say D13, 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?







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy/paste slides from one file to another Karl Powerpoint 1 May 19th, 2005 02:36 AM
Forcing Outlook not complete automatically area code. Junior from Brazil Contacts 2 March 29th, 2005 06:17 PM
default area code Christopher Glaeser Using Forms 5 November 19th, 2004 02:46 AM


All times are GMT +1. The time now is 12:30 AM.


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