Cells containing macros are not updated


Posted by Mike on January 24, 2001 12:21 PM

My workbook has calls a VBA macros in cell functions. Worked great when I first inserted them. The trouble is that when I close the file and reopen it, the cells values are different, or the macro isn't called at all. If I go into the formula window and just hit "enter" it recalculates the correct value again.
Can I force Excel to update macro cells automatically?

Posted by cpod on January 24, 2001 12:29 PM

Check this link:

http://support.microsoft.com/support/kb/articles/Q163/5/42.asp?LN=EN-US&SD=gn&FR=0&qry=Volatile&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=XLW



Posted by Mike on January 24, 2001 2:26 PM

Great, thanks!

Application.Volatile did the job