S
Souris
I tried to create a function to receive optional paramter and has default
value now as date as following.
Public Function myPrepare(Optional FromDate As Date = now(), Optional ToDate
As Date= now()) As Boolean
The VBA failed, Are there any way to have default now value for optional
parameter?
Your help is great appreciated,
value now as date as following.
Public Function myPrepare(Optional FromDate As Date = now(), Optional ToDate
As Date= now()) As Boolean
The VBA failed, Are there any way to have default now value for optional
parameter?
Your help is great appreciated,