I have spreadsheet that pulls in data from an external source (Bloomberg). The spreadsheet has about 2000 rows and grabs ~200 data points per row. It then puts these data points into arrays in order to percentile rank the data.
If I set Excel to automatically calculate formulas it crashes as there is so many calculations going on simultaneously. As a solution, I've created a macro to calculate one column at a time manually. That prevents Excel from crashing, but what I'm finding is that using Range.Calculate doesn't give Bloomberg enough time to return a data value and I get a bunch of "#N/A Requesting Data" errors. If you are running Bloomberg bdp links in Excel with Automatic calculation for a small set of data, the data values will eventually get populated, but because my spreadsheet is so large, I can't set formulas to automatic.
The solutions I'm think of would be to either a) tell Excel to wait a while for the manual calculation to complete or b) somehow set Excel to Automatic calculations, but do it for only one row at a time.
Does anyone know whether these are viable options and how to program it?
Bookmarks