Wait until Excel finishes populating Bloomberg data using VBA
问题 I have an Excel sheet with ~300,000 BDH formulas to download securities prices. I want to open the file and get all prices paste them as values save and close the file. However, I do not know when Excel finishes populating Bloomberg data, so it's difficult to determine the time to do 2) and 3). I have written VBA, but not sure if it works: In Module1 Sub CheckFormulas() If Application.CalculationState = xlDone Then With Worksheets("Sheet1").UsedRange .Value = .Value End With Else Application