View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Run macro in background

Yohan,

You could start another instance of Excel, and put that code in a workbook
open event, and open that workbook in the other Excel instance.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Yohan" wrote in message
...
I created some macros to work with Access database.
Apparently, those macros took quite some time to
calculate, around 1-3 minutes. While the macro is
running, the Excel application freezes and I can't work
during that time, only waiting for the macro to finish
the calculation.

Is there any way to tell Excel to run the calculation in
the background, so that I may still be able to work with
my worksheet while the macro is running?

Regards,
Yohan