I have the following custom formula in Excel file named Excel_Sample.xls:
GetData = Workbooks("data.xls").Worksheets("sht").Range("E1")
When the data.xls is open, open the Excel_Sample.xls, and the cell using this formula(say A1) could get the value of Cell E1 in data.xls.
However, close data.xls then:
Open Excel_Sample.xls In Excel 2003, the data in A1 is still there even if the formula of GetData isn't valid (cause the data.xls is closed.).
Open Excel_Sample.xls In Excel 2010, the data in A1 become #VALUE! cause the formula runs again and can get the data in data.xls.
What can I do to keep the data in Excel 2010 even the formula is invalid, just like 2003?