Visual Basic Error Codes and Messages

The following working VBA code is an example of client code accessing the interface. Line # Dim UA As Object. Dim NumBars, DataDate, MarketNumber As Long. Dim ErrNo As Integer. Dim symbol As String. Set UA = CreateObject("UA.Api2") Rem Sleep(100) or WaitForInputIdle, not needed with Excel. symbol = "SP" UA.MarketSymbol = symbol. UA.IsStock = 0 ................
................