chriscusick
Technical User
Hi,
I have a spreadsheet that I need to do 6 conditional formats on. I realize this needs to be done in VBA but I have NEVER used VBA before so I'm at a loss.
What I need the vba to do is check the text in cell A1 and if it meets a certain criteria colour cells a1 - j1 a certain colour. The code needs to change the cells for the relevant criteria.
The other criteria are also in cell a1, in drop down form.
If it helps, the criteria are:
"To be booked", "Booked", "Done", "Invoiced", "Paid", "Cancelled"
So, for example, if cell A1 = "DONE" then cells A1-J1 would turn green. If Cell A1 = "Cancelled" it would color the cells Red, so on and so forth.
Also, this would need to be extended DOWN column A some 150 lines.
Is there anyone who could actually write this out for me as I have NO programming experience in VBA and wouldn't even know where to start adapting one of the examples from other threads.
Thank you all in advance
I have a spreadsheet that I need to do 6 conditional formats on. I realize this needs to be done in VBA but I have NEVER used VBA before so I'm at a loss.
What I need the vba to do is check the text in cell A1 and if it meets a certain criteria colour cells a1 - j1 a certain colour. The code needs to change the cells for the relevant criteria.
The other criteria are also in cell a1, in drop down form.
If it helps, the criteria are:
"To be booked", "Booked", "Done", "Invoiced", "Paid", "Cancelled"
So, for example, if cell A1 = "DONE" then cells A1-J1 would turn green. If Cell A1 = "Cancelled" it would color the cells Red, so on and so forth.
Also, this would need to be extended DOWN column A some 150 lines.
Is there anyone who could actually write this out for me as I have NO programming experience in VBA and wouldn't even know where to start adapting one of the examples from other threads.
Thank you all in advance