View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Doug Glancy Doug Glancy is offline
external usenet poster
 
Posts: 770
Default If This AND That Then...Else... in VBA

Amber,

If condition1 And condition2 then
'your code
end if

hth,

Doug

"Amber_D_Laws"
wrote in message
news:Amber_D_Laws.24diqq_1141859405.9928@excelforu m-nospam.com...

Ok, I want to write an if statement (although a Case Select would work
too) that will test for condition1 AND condition2. Is this even
possible?

Any help or sage wisdom on the subject is welcome.
Thanks,
Amber


--
Amber_D_Laws

I am currently working for Severn Trent Laboratories as a Project
Manager's Assistant, and have through helping update lots of our
operational procedures recently begun learing VBA
------------------------------------------------------------------------
Amber_D_Laws's Profile:

http://www.excelforum.com/member.php...o&userid=30012
View this thread: http://www.excelforum.com/showthread...hreadid=520355