Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Is there a command to run a macro as the condition for TRUE in an I statement -- bhaloonee ----------------------------------------------------------------------- bhalooneel's Profile: http://www.excelforum.com/member.php...fo&userid=2402 View this thread: http://www.excelforum.com/showthread.php?threadid=37638 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Could you tell where is the IF statment located? in a Cell or in Macro? it depends... bhalooneel Wrote: Is there a command to run a macro as the condition for TRUE in an I statement -- jose lui ----------------------------------------------------------------------- jose luis's Profile: http://www.excelforum.com/member.php...fo&userid=1331 View this thread: http://www.excelforum.com/showthread.php?threadid=37638 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() It's in the cell. -- bhalooneel ------------------------------------------------------------------------ bhalooneel's Profile: http://www.excelforum.com/member.php...o&userid=24023 View this thread: http://www.excelforum.com/showthread...hreadid=376381 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() bhalooneel Wrote: It's in the cell. 1. Put your IF in the cell 2. Label the cell (lets say SwCell) 3. put your macro in the Worksheet.Calculate. Something like Code: -------------------- If Range("Condition onSwCell") Then Your Code Else your code End If -------------------- 4. Pull the result of the Cell to your Macro with Range("Condition onSwCell") Your Macro will run every time the worksheet is calculated, if it in automatic calculation, always will be testting your condition and doing your code. Hope this helps Regards Jose Luis -- jose luis ------------------------------------------------------------------------ jose luis's Profile: http://www.excelforum.com/member.php...o&userid=13312 View this thread: http://www.excelforum.com/showthread...hreadid=376381 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro if and / or statement | Excel Discussion (Misc queries) | |||
If Statement to run a macro | Excel Discussion (Misc queries) | |||
If statement in macro | Excel Discussion (Misc queries) | |||
Macro and If Statement | Excel Discussion (Misc queries) | |||
If-statement in Macro | Excel Programming |