Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello Bmorganh, in VBA code yes you can initate a macro using a If statement. Jus substitute the name of your macro for MyMacro in the example. The macr can be run at anytime in VBA simply by placing the macro's name, and an arguments required in your code. Example: If condition = True Then Call MyMacro End If Sincerely, Leith Ros -- Leith Ros ----------------------------------------------------------------------- Leith Ross's Profile: http://www.excelforum.com/member.php...fo&userid=1846 View this thread: http://www.excelforum.com/showthread.php?threadid=56400 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If statements in macros | Excel Discussion (Misc queries) | |||
How can I use wildcards in IF statements and Macros | Excel Discussion (Misc queries) | |||
How do i start Macros using IF statements? | Excel Discussion (Misc queries) | |||
Macros and if statements | Excel Programming | |||
True / false statements in Macros | Excel Programming |