API Support Forum
OEC API > API Support > 'Object Required' Alert on EXCEL Com sample.
Author Topic: 'Object Required' Alert on EXCEL Com sample.
(2 messages, Page 1 of 1)
Moderators: VPfau
estrader
Posts: 55
Joined: May 04, 2007


Posted: Oct 17, 2009 @ 07:00 AM             Msg. 1 of 2
I keep getting an 'Object Required' alert.
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Oct 20, 2009 @ 01:42 PM             Msg. 2 of 2
Please remove 'And Not (GetSymbol Is Nothing)' string from ContractsChanged procedure of Ticks page:

Public Sub ContractsChanged(ByVal BaseContract As BaseContract)
If (Subscription Is Nothing) And Not (GetSymbol Is Nothing) Then
Reinitialize
End If
End Sub

The bugfix will be available in the next version of the sample.