or function

  • Thread starter Thread starter chief
  • Start date Start date
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
 
absolutely you can. you have got it right, almost:

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top