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