View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett[_4_] Don Guillett[_4_] is offline
external usenet poster
 
Posts: 2,337
Default run macro only if condition is met

Didn't you answer it

if x="a" then
run thismacro
else
do something else
end if

--
Don Guillett
SalesAid Software

"Nikonov" wrote in message
...
I need to run a macro (copy one cell into another) only if a certain
condition is met. For example, if x=a, then run this macro. If not, do
something else.