Re: How to stop calculation on open?
- From: Dave Peterson <petersod@xxxxxxxxxxxxxxxx>
- Date: Tue, 28 Aug 2007 21:41:25 -0500
Excel picks up that calculation for that session from the first workbook opened.
If you try to use any of that workbook's events, then you'll be too late.
You can change the calculation manually, then open your workbook--or use a
"dummy" workbook that changes calculation mode, then opens your real workbook.
Kind of like:
Option Explicit
Sub auto_open()
application.Calculation =xlCalculationManual
Workbooks.Open Filename:="c:\my documents\excel\book1.xls"
ThisWorkbook.Close savechanges:=False
End Sub
G Lykos wrote:
Greetings! Have an unwieldy workbook. It is set for manual calculation, no
calculation on save. I'd like to inhibit calculation when opening it as
well, but have been unable to intercept it using the various workbook and
application events. Any suggestions on how to do so?
Thanks,
George
--
Dave Peterson
.
- References:
- How to stop calculation on open?
- From: G Lykos
- How to stop calculation on open?
- Prev by Date: Re: Sumproduct in VBA
- Next by Date: Excel/VBA source book?
- Previous by thread: How to stop calculation on open?
- Next by thread: Excel/VBA source book?
- Index(es):
Relevant Pages
|
Loading