excel - MonthView multiselect Start and End date into cells -
i'm creating userform, part of includes monthview control set multiselect option enabled. i'm trying start date , end date users select 2 different cells on worksheet (let's a1 , b1 example). i've looked understand can start/end date using selstart , selend, i'm unsure of how or how works. can put in first date selected using this:
private sub monthview1_dateclick(byval dateclicked date) on error resume next range("a1") = dateclicked unload me end sub but doesn't include last date.
a workaround have 2 separate monthview controls programmed 1 above put 2 dates in separately, i'd rather use drag select functionality if possible.
Comments
Post a Comment