Hi everyone,
Hope you had a great weekend!!
I need a VBA code to paint the cells, where the result from if function is "yes".
Thanks in advance
Hi everyone,
Hope you had a great weekend!!
I need a VBA code to paint the cells, where the result from if function is "yes".
Thanks in advance
Last edited by grubenyan; 03-21-2022 at 01:23 PM.
It would be easier to help and test possible solutions if you could attach a copy of your file. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file.
You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
Practice makes perfect. I'm very far from perfect so I'm still practising.
I need to paint the row, when the "J1" is 1. When the "J1" is 0, there is nothing to do about!
Please see this attachment!!
Copy and paste this macro into the worksheet code module. Do the following: right click the tab name for your sheet and click 'View Code'. Paste the macro into the empty code window that opens up. Close the code window to return to your sheet. Enter a 1 in column J and press the RETURN key.
Please Login or Register to view this content.
It worked but not fully. When I put the "if" code and copy that till the end it does not work, it only works for 1 row not more
Try:
Please Login or Register to view this content.
You're awesome!!! Thank you
You are very welcome.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks