Macro formula help

  • Thread starter Thread starter El Bee
  • Start date Start date
E

El Bee

I have a macro that needs to check the value of a cell in a different
worksheet. The cell has a defined name called "mend_tape_cnt". How can I
write a formula within the macro to perform an "IF" statement against this
cell value.
For example:
If "mend_tape_cnt" > 0 then
......
else
......
End If

thanks for the help,

El Bee
 
This works fine when entering the formula within a cell but I trying to
figure out how to write the formula within a macro so that if the
"mend_tape_cnt" is greater than zero do whaterver else do something else.
 
Back
Top