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

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -