Hi,

In the excel worksheet, I use MOD(YEAR();4) to determine whether there are 365 or 366 days in that year.

I would like to use this function also in my User Defined Function VBA Code.

I cannot find how to do this.

Thanks in advance for your tips.

Kind regards,

Dirk.