When you use cell.formula in VBA code, it returns an error when the formula is really long. This happens when the formula has many references to cells in another workbook and the referenced workbook is closed. Because the referenced workbook is closed, all the cell addresses have the full path added to the address. This means that the formula is now very very long and cannot be referred to with the .formula property.
Is there a way around this, other than opening the referenced workbook?