The Excel versions of the API frequently use the variable 'time'.? Declaring it as string or as long in numerous places.? It is also in the TWSlib in at least five places.
This is a problem because 'Time' is a built-in VBA function (which returns the current system time) and is part of the VBA standard library and cannot be redefined without causing conflicts.? In other words Time is a reserved name in VBA.
?
To verify this problem, one can create a module in an Excel workbook that is using the API and enter a simple function like this:
Option Explicit
Function testTimeProblem()
? ? testTimeProblem = Time
End Function
?
Notice that the Time will be changed to time...? Which is an indication of the problem.
This needs to be fixed.? How do I report this problem to IB Developers or do they monitor this Group??
?
Thanks!
?
?