S
Steven Britton via AccessMonster.com
After I run the below I get a Type Mismatch, haven't I converted the String
to a Date that I can extract the MonthName from?
strResponse = strTkingPer
strMsg = "Enter a Tracking Period for the report data, or accept " _
& "the defaulted period which is the first day of the requested " _
& "range of the OBMS report[use 11/1/2004 format]. Clicking on CANCEL
" _
& "will not place any Tracking Period onto the datasheet:"
strTitle = "Report Tracking Period"
strResponse = InputBox(strMsg, strTitle, strResponse)
If strResponse <> "Base" Then
strResponse = CDate(strResponse)
strResponse = MonthName(strResponse)
End If
Thanks again to everyone out there that answers these questions!!!
to a Date that I can extract the MonthName from?
strResponse = strTkingPer
strMsg = "Enter a Tracking Period for the report data, or accept " _
& "the defaulted period which is the first day of the requested " _
& "range of the OBMS report[use 11/1/2004 format]. Clicking on CANCEL
" _
& "will not place any Tracking Period onto the datasheet:"
strTitle = "Report Tracking Period"
strResponse = InputBox(strMsg, strTitle, strResponse)
If strResponse <> "Base" Then
strResponse = CDate(strResponse)
strResponse = MonthName(strResponse)
End If
Thanks again to everyone out there that answers these questions!!!