Rum macro in procedure

S

SpeeD

Hi guys.

I have to call a macro (macro2) from wthin "Private Sub
Worksheet_Activate()"

How can i do this?

Thanks!!!
SpeeD
 
S

SpeeD

Thanks a lot!

By the way if i want to run a macro from a "IF" formula
in a cell, how can i do it??

Thanks!!!!!
 
W

walt

IF cell (a,b) = ... THEN
Call macro
END IF

SpeeD said:
Thanks a lot!

By the way if i want to run a macro from a "IF" formula
in a cell, how can i do it??

Thanks!!!!!
 
S

SpeeD72

Hi

I´ve tried to write this formula in a cell (c17), but
simply doens´t work. What am i missing??

thanks!
SpeeD
 
R

Random

You can't do that directly from a formula, but you can code it to
happen based on a set of conditions. What conditions do you want to
cause this macro to fire?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top