or function

C

chief

is there a way to set up vb code so that if textbox1.text = "name1" o
"name2" etc. then range(C2).font.colorindex = 2
 
I

icestationzbra

absolutely you can. you have got it right, almost:

if (textbox1.text = "name1") or (textbox1.text = "name2") the
range("C2").font.colorindex =
 
Top