there used to be a function called evaluate that would evaluate the contents of a cell. However, that function doesn't seem to exist any longer. This is the problem I am looking to solve (this is supposed to run in batch):
A1 contains a concatenate function that creates the string ='C:\users\example\[ref.xlsx]'Sheet!D5
. This string is supposed to be a reference to a cell in another workbook. However, Excel considers the equal sign a string and therefore, doesn't evaulate the function.
I know the most common workarounds:
- Copy and special paste only the values to another cell, then replace "=" with "=" and the cell evaluates automatically (not an option, because requires manual processing and can't be used in batch)
- Write a macro that evaluates the cells (not an option, because the batch is not compatible with macro enabled workbooks)
- Create a UDF that evaluates the cell per evaluate macro (also requires macro enabled workbook, thus not an option)
Macros are not an option. Manual processes that can't be automated per function also are not an option. I somehow need excel to show me that contents of the reference cell. Thanks for your help!!!
Mpdegn