Hiho,
I want to create a script that compares the following for each row.
I have values in column G and H.
If the value in G > value(H)/2
then mark cell G with a color..
I am quite new at VBA and dont really know how to set this up
Regards!
/ C
Hiho,
I want to create a script that compares the following for each row.
I have values in column G and H.
If the value in G > value(H)/2
then mark cell G with a color..
I am quite new at VBA and dont really know how to set this up
Regards!
/ C
Perhaps something like this?
![]()
Please Login or Register to view this content.
Regards
Fotis.
-This is my Greek whisper to Europe.
--Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Advanced Excel Techniques: http://excelxor.com/
--KISS(Keep it simple Stupid)
--Bring them back.
---See about Acropolis of Athens.
--Visit Greece.
Apologize. I missed your reply.
What you mean saying "to change back"? When you run the macro once then in any row that the condition is correct, is highlighted...Hey this worked, however once it changes color I can't change it back?
This one can un-color the range..
So...![]()
Please Login or Register to view this content.
You are welcome and thanks for the feed back.
As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.
Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks