Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Excel & Stata: autocalculate does not work

From (Hua Peng)
Subject   Re: st: Excel & Stata: autocalculate does not work
Date   Fri, 06 Jan 2012 12:30:23 -0600

Sem Vandekerckhove <> asks how to force
Excel to recalculate cells:

> When using the new -export excel- command in Stata 12 to export values to 
> Excel 2007, I noticed that Excel does not update existing fields using the 
> new values (e.g. an average) until you re-enter the formula. Is there any 
> way to fix this, besides autocalculation which is already on? Is it due to 
> Stata exporting figures to a text field or is it Excel being stubborn (what 
> about Excel 2010)?

This is a "limitation" of Excel. Excel caches the value of computed cells
and does not recalculate these cells when opening the file. Although reentering 
the formula forces a recalculation, a simpler method by pressing 
"Ctrl+Alt+F9" will recalculate all cells in all open workbooks.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index