Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel 2007 and create a macro to highlight cells (NOT)

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
I need to turn highlight on and off of cells to compare them.
doing Boolean Algebra with "Not"s and A'BC + BC'D ete
so a I have a lot of columns and rows of 1's and 0's.
Anyway I tried to create a macro which I would then tie to a button. when I was done with the macro there was nothing there. it made a sub routine with a comment but it did not record any steps.

any Idea how I can make a one click button to highlight
cells?
I need a button to highlight and another to un-highlight yellow. color the background yellow.




DougP
[r2d2] < I Built one
 



Hi,

Why do you think that you need a macro?

What about Conditional Formatting?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 


BTW, the Formula is on row 3 would be...
[tt]
Formula is: =OR(A3&B3&C3="101",B3&C3&D3="110")
[/tt]

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
the issue is I want to highlight a column of numbers
say from A23 to A34 and then click a button and have them all turn the background to yellow
highlight a another column and do the same etc.
then highlight them and turn the back to white
I thought once upon a time the other version of Excel would do this the other problem is I have a huge monitor and would like to have a button on a floating tool bar but I understand excel 2007 has no such thing anymore.
Darn it


DougP
[r2d2] < I Built one
 

the issue is I want to highlight a column of numbers...
Well I'm not suggesting anything different.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top