Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2008

Tip: Looking for answers? Try searching our database.

force automatic calculation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don - 30 Jan 2008 21:36 GMT
Can I force Excel through a registry entry to set Tools | Options |
Calculations to "Automatic"?  I know that I can first open a spreadsheet
which is already set to Automatic and that all subsequently opened
spreadsheets will then be Automatic, but that is a pain.  I really want to
force Excel into Automatic mode every time I open any spreadsheet whether the
spreadsheet is set to Automatic or Manual.  I also know I can make a startup
xls and set it to Automatic.  The problem with this is that if I shut down
excel during the day and then reopen later by double-clicking on a file which
happens to be Manual, then I'm set to Manual.....so I think the only way is
to force Excel through a registry entry....thoughts???  Thanks.
JP - 30 Jan 2008 21:54 GMT
How about this code in the ThisWorkbook module of your personal.xls?

Private WithEvents XLApp As Excel.Application

Private Sub Workbook_Open()
Set XLApp = Excel.Application
End Sub

Private Sub XLApp_NewWorkbook(ByVal Wb As Workbook)
XLApp.Calculation = xlCalculationAutomatic
End Sub

Private Sub XLApp_WorkbookOpen(ByVal Wb As Workbook)
XLApp.Calculation = xlCalculationAutomatic
End Sub

HTH,
JP

> Can I force Excel through a registry entry to set Tools | Options |
> Calculations to "Automatic"?  I know that I can first open a spreadsheet
[quoted text clipped - 6 lines]
> happens to be Manual, then I'm set to Manual.....so I think the only way is
> to force Excel through a registry entry....thoughts???  Thanks.
Don - 30 Jan 2008 22:35 GMT
works great, thanks

> How about this code in the ThisWorkbook module of your personal.xls?
>
[quoted text clipped - 25 lines]
> > happens to be Manual, then I'm set to Manual.....so I think the only way is
> > to force Excel through a registry entry....thoughts???  Thanks.
Don - 30 Jan 2008 21:57 GMT
> Can I force Excel through a registry entry to set Tools | Options |
> Calculations to "Automatic"?  I know that I can first open a spreadsheet
[quoted text clipped - 6 lines]
> happens to be Manual, then I'm set to Manual.....so I think the only way is
> to force Excel through a registry entry....thoughts???  Thanks.

I also would like a registry entry that turns Interations on and sets Max
Its to 999.
Gord Dibben - 30 Jan 2008 22:42 GMT
This problem has been discussed for the past few versions of Excel and has not
been corrected in 2007.

There is no Registry entry ever come up in these discussions that I can recall.

Same for Iterations settings in your later post.

Gord Dibben  MS Excel MVP

>Can I force Excel through a registry entry to set Tools | Options |
>Calculations to "Automatic"?  I know that I can first open a spreadsheet
[quoted text clipped - 6 lines]
>happens to be Manual, then I'm set to Manual.....so I think the only way is
>to force Excel through a registry entry....thoughts???  Thanks.
Don - 30 Jan 2008 22:53 GMT
I did get some VB from 'JP' to put in my personal.xls, that works great to
take care of the Automatic Calculation issue and is fine by me as a great
substitute for a registry entry.  Hopefully someone will post some VB as a
workaround for the iterations.

> This problem has been discussed for the past few versions of Excel and has not
> been corrected in 2007.
[quoted text clipped - 15 lines]
> >happens to be Manual, then I'm set to Manual.....so I think the only way is
> >to force Excel through a registry entry....thoughts???  Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.