cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Macro VBS - Min, Max functions

Rapha13
Contributor

Hello,

From HOPEX Customizer (HOPEX V5), I have created a custom Report DataSet Definition to do some reportings around Application objet.

For each Technology related to each Application, I properly managed to retrieve the End of support date ("date1") and the Extended end of support date ("date2"). I would like to construct a field with a VB Macro that returns the max of these 2 dates but it does not work, I've tried :

  • Max(date1, date2)
  • Math.Max(date1, date2)

Unfortunately, I am using the web client for the moment so I don't know what error am I getting. Could you advise hox to use Max function in a macro with an example ?

Thanks.
Rapha

0 Replies