Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming,microsoft.public.fr.excel
|
|||
|
|||
Solver macro slow when recalculate
Hi all,
I'm using the solver inside a simple macro to calculate a few cells in a worksheet. When executed alone, this macro is fast (let's say instantaneous). What I'd like to do is to call this macro automatically everytime the sheet is recalculated. I've tried this: Private Sub Worksheet_Calculate() Application.Calculation = xlCalculationManual Solver_macro Application.Calculation = xlCalculationAutomatic End Sub But the macro in this case is extremely slow ! I can't figure out what's the problem. Would you have a hint ? I only have a very limited knowledge in vba and macros ... Thanks a lot ! Arno |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Recalculate 1 cell in a macro | Excel Discussion (Misc queries) | |||
macro to recalculate every 10 seconds | Excel Worksheet Functions | |||
Recalculate in a macro | Excel Programming | |||
Recalculate in a macro | Excel Programming | |||
help with solver or macro | Excel Programming |