I have the following code below to find if the day of the month is before the 9th.
If Day(currentServerTime) >= 9 Then
SelectMonth = Format(DateAdd("m", -1, currentServerTime), "yyyy-mmmm")
'DTPicker1 = ?
If it is before the 9th, I would like to limit the calendar in DTPicker to only the current month. Is it possible to do this so that a user can only choose the current month?