I wrote the following statement intending that the 1st parameter be deemed "Missing" in the receiving Sub.
However, in the sub:Code:Call PopulateControls(, "YTD")
Debug reveals that the value of PCDate is the time of day, whereas I'm wanting that IsMissing(PCDate) equal true.Code:Private Sub PopulateControls(Optional PCDate As Date, Optional Sufx As String = "")
How should the "Call" be coded to designate an intentionally missing parameter?