I am using a VBA in file A to update prices. Those prices are found with Reuters formulas located in file B.
I open the file B as read only, refresh the formulas with the below instructions, but nothing happens and the prices dont get updated. It seems that if I open file B manually and refresh, the prices update correctly.
Any suggestion how to solve this?
Thanks in advance.
I'm not reproducing the behavior you describe on my end. I just created two spreadsheets: one named Test2.xlsx containing =TR function retrieving some fast updating market data (to easily detect if the data has been refreshed), the other containing a VBA procedure with two lines of code:
Workbooks.Open "Test2.xlsx", , True Application.Run "PLRefreshAllEventHandler"
I put Excel in manual calc mode. When I execute the above code I see Test2.xlsx being opened, and =TR function refreshing the data. If I comment out the last line of code, then Test2.xlsx gets opened with the data that was there at the time the spreadsheet was last saved (i.e. the data does not get refreshed). Long story short, my experience is exactly the expected behavior.
What is different in your case? Can you try replicating the issue using simple test files? And if you're able to replicate the behavior you experienced, can you post the exact replication procedure?