Thread: if or statement
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
daverico[_2_] daverico[_2_] is offline
external usenet poster
 
Posts: 1
Default if or statement


One way is to write:
if range("nightly!cu9").value = "AT&T" then
application.run "addfeatures"
elseif range("nightly!cu9").value = "Verizon" then
application.run "addfeatures"
end i

--
daveric
-----------------------------------------------------------------------
daverico's Profile: http://www.excelforum.com/member.php...fo&userid=1566
View this thread: http://www.excelforum.com/showthread.php?threadid=27232