SetTradeDate


SetTradeDate is a vba function that takes 1 argument and must be called as: SetTradeDate( dateValue )
It returns TRUE on success and FALSE on failure.
This function sets the
global trade date
It simulates the effect of changing that date by clicking on the Trade Date calendar element
that appears at both the ribbon and the taskpane.
The argument dateValue is a Date variable that represents the new Deriscope global trade date.
This function causes a change on the date displayed on the above mentioned calendar element.