msrplus Posted September 17, 2009 Posted September 17, 2009 Current system date over the set date not workwhen less 10,09,2009 or 20,09,2009 over current system date then msg..... 'date = current system datedim startDate,endDatestartDate = CDate("10/09/" & Cstr(Year(TodayDate)))eDate = CDate("20/09/" & Cstr(Year(TodayDate)))if startDate < date or endDate > date thenmsgbox "10 day over plz update"elsemsgbox "welcome to start"end ifPlz any Solution or Solve problem Thanks
gunsmokingman Posted September 18, 2009 Posted September 18, 2009 'date = current system datedim startDate,endDatestartDate = CDate("10/09/" & Cstr(Year(TodayDate)))eDate = CDate("20/09/" & Cstr(Year(TodayDate)))if startDate < date or endDate > date thenmsgbox "10 day over plz update"elsemsgbox "welcome to start"end ifChange This eDate = CDate("20/09/" & Cstr(Year(TodayDate)))To ThisendDate = CDate("20/09/" & Cstr(Year(TodayDate)))Then try running your code
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now