This example pastes the value of the 100th trial of the forecast in B1 into the cell where the function is entered. In a worksheet, you can enter:
=CB.GetForeDataFN(B1,100)