View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
davesexcel[_46_] davesexcel[_46_] is offline
external usenet poster
 
Posts: 1
Default If This AND That Then...Else... in VBA


if selection.value10 then
if selection.value=12 then
'your code here'
end if
end i

--
davesexce
-----------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...fo&userid=3170
View this thread: http://www.excelforum.com/showthread.php?threadid=52035