View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
iamn94 iamn94 is offline
external usenet poster
 
Posts: 4
Default IF statement in a macro

Hello
New to macro writing so my question is pretty basic...

I want the macro to run only if the value of reference cell is less than a
certain return. For example, if the return is less than 30% run the macro.
If the return is greater than or equal to 30% do not run the macro.

How do I go about doing this? The rest of my macro works fine, I just need
to limit the range of its use.

Any and all help is appreciated.

Thanks
--
sd