Hi. I am new to VBA for Excel. Question : how do I color a cell based on certain conditions. For instance, if cell A1 = "123", then color cell A5 red. Thanks for your help!
Hi. I am new to VBA for Excel. Question : how do I color a cell based on certain conditions. For instance, if cell A1 = "123", then color cell A5 red. Thanks for your help!
Conditional Formatting is a non-VBA Excel feature that does that.
_
...How to Cross-post politely...
..Wrap code by selecting the code and clicking the # or read this. Thank you.
hi grumpyguppy,
welcome to the forum
you do not need vba
select a5 then goto > format> conditional formating>formula is
then type in =$a$1=123 the select format, patterns , select red
steve
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks