View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Michael Michael is offline
external usenet poster
 
Posts: 791
Default Using If Then Else within a Macro

Wait I missed read the posting, use Jim's sub instead.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"dave caizley" wrote:

I'm fairly new to Macros so this may seem very simple to you.

I basically want to run a nested statement
if A10="Yes" then type "Good" in cell A12, if A10="No" then type "Bad" in
A12 else a blank cell.

I know I can do it as a formula but I would prefer this to be incorporated
into an existing macro.

Thanks in anticipation