Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Autocalculation settings when multiple spreadsheets open

I've created a spreadsheet that turns off autocalculation when it opens. A
user recently noticed that when that spreadsheet is open, autocalculation is
also turned off for any other open spreadsheets. Is there a simple way
around this, or do we need to simply teach our users to live with this fact
and work around it by opening and closing spreadsheets as needed? I don't
think it's possible to have different options set for simultaneously open
spreadsheets, but I figured I'd check here just in case.

Thanks,

Bryan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Autocalculation settings when multiple spreadsheets open

Hi Bryan,

I've created a spreadsheet that turns off autocalculation when it opens


Try, instead, setting calculation to manual when the workbook is activated
and restoring calculation to automatic when another workbook is activated.

In the workbook's ThisWorkbook module paste the following :

Private Sub Workbook_Activate()
Application.Calculation = xlCalculationManual
End

Private Sub Workbook_Deactivate()
Application.Calculation = xlCalculationAutomatic
End


---
Regards,
Norman



"Bryan Linton" wrote in message
...
I've created a spreadsheet that turns off autocalculation when it opens.

A
user recently noticed that when that spreadsheet is open, autocalculation

is
also turned off for any other open spreadsheets. Is there a simple way
around this, or do we need to simply teach our users to live with this

fact
and work around it by opening and closing spreadsheets as needed? I don't
think it's possible to have different options set for simultaneously open
spreadsheets, but I figured I'd check here just in case.

Thanks,

Bryan




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Autocalculation settings when multiple spreadsheets open

Hi Bryan,

In each Sub replace

End

with

End Sub

---
Regards,
Norman



"Norman Jones" wrote in message
...
Hi Bryan,

I've created a spreadsheet that turns off autocalculation when it opens


Try, instead, setting calculation to manual when the workbook is activated
and restoring calculation to automatic when another workbook is activated.

In the workbook's ThisWorkbook module paste the following :

Private Sub Workbook_Activate()
Application.Calculation = xlCalculationManual
End

Private Sub Workbook_Deactivate()
Application.Calculation = xlCalculationAutomatic
End


---
Regards,
Norman



"Bryan Linton" wrote in message
...
I've created a spreadsheet that turns off autocalculation when it opens.

A
user recently noticed that when that spreadsheet is open,

autocalculation
is
also turned off for any other open spreadsheets. Is there a simple way
around this, or do we need to simply teach our users to live with this

fact
and work around it by opening and closing spreadsheets as needed? I

don't
think it's possible to have different options set for simultaneously

open
spreadsheets, but I figured I'd check here just in case.

Thanks,

Bryan






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open multiple spreadsheets and pull data vbtrying Excel Worksheet Functions 0 April 20th 10 09:53 PM
how to open multiple spreadsheets BushyIII Excel Discussion (Misc queries) 2 August 4th 07 06:32 PM
Open multiple spreadsheets JR Hester Excel Discussion (Misc queries) 1 April 3rd 07 10:12 PM
Open multiple spreadsheets, but close only one Cheri Excel Discussion (Misc queries) 1 February 2nd 06 01:08 AM
open multiple excel spreadsheets in separate windows by default Joe E via OfficeKB.com Setting up and Configuration of Excel 4 February 10th 05 06:33 PM


All times are GMT +1. The time now is 11:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"