Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | hpeng@stata.com (Hua Peng) |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Excel & Stata: autocalculate does not work |
Date | Fri, 06 Jan 2012 12:30:23 -0600 |
Sem Vandekerckhove <Sem.Vandekerckhove@hiva.kuleuven.be> 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. --Hua hpeng@stata.com * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/