Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is the macro code:
Dim SCell As Integer Do Until SCell.Value = 1 If SCell.Value < 1 Then Range("J24").Select Calculate End If Loop where SCell checks a condition like this: "if(A2A3,1,0)" and A2 has RAND in it so everytime sheet is calculated by changing RAND, SCell's condition is checked. The macro's loop might runs one time or 500 times but it must stop when SCell=1 Thanks, Jo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro not showing in Tools/Macro/Macros yet show up when I goto VBA editor | Excel Programming | |||
Need syntax for RUNning a Word macro with an argument, called from an Excel macro | Excel Programming | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |