I feel a bit cheeky asking another question, as you good people have already helped me out a few times already, but I'm new to all this and with your help, on a bit of a role.
I am trying to use a conditional If Then statement, to populate a cell with a word and back ground colour if met.
01) Can this be done using something along the lines, typed into D1 for example:
=If A1> 10 then B2="Greater than"
02) If I was doing this in VBA code, I can not work out where to put the code, as in "General" or "Worksheet" and then in the next drop down along, what to select to make the code dynamic, so it executes as soon as any cell is changed.
Then I guess I could use this code:
If A1.Value > 10 Then Range("B2").Value = "Greater than"
I imagine these are the fundamentals of using VBA, so a shining light would be much appreciated.
Thanks again for you help.
Iain.
I am trying to use a conditional If Then statement, to populate a cell with a word and back ground colour if met.
01) Can this be done using something along the lines, typed into D1 for example:
=If A1> 10 then B2="Greater than"
02) If I was doing this in VBA code, I can not work out where to put the code, as in "General" or "Worksheet" and then in the next drop down along, what to select to make the code dynamic, so it executes as soon as any cell is changed.
Then I guess I could use this code:
If A1.Value > 10 Then Range("B2").Value = "Greater than"
I imagine these are the fundamentals of using VBA, so a shining light would be much appreciated.
Thanks again for you help.
Iain.