+ Reply to Thread
Results 1 to 10 of 10

Pop-up calendar when selecting cell

  1. #1
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Pop-up calendar when selecting cell

    Hi,

    Currently, I work on a project in an excel file where I would like to insert a pop-up calendar on specific cells, where after selecting cell a pop-up calendar will be displayed, the user is able to select a specific date and than this date is inserted in this cell.

    There are many ways to do that, however I could not find any efficient way, some offer Add-ins, some offer Microsoft Excel integrated active X control, however it does not offer what I described above, or I was unable to use it correctly.

    It would be helpful if someone will provide any efficient way to reach above mentioned result.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Pop-up calendar when selecting cell

    Something like this: http://www.fontstuff.com/vba/vbatut07.htm

  3. #3
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Pop-up calendar when selecting cell

    Yes that's right.

    But I could not use it, could you please provide some sample file?

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Pop-up calendar when selecting cell

    You have sample files at the end of the page

  5. #5
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Pop-up calendar when selecting cell

    Yes, but can't use, it, the macro is ran after I click to run macro, however I would like to make the code usable when the workbook is opened and run macro when selecting a specific cell.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Pop-up calendar when selecting cell

    You can call that macro in any part of the code you like.

  7. #7
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Pop-up calendar when selecting cell

    If possible please help me to modify this file from the web page, to run it after specific cell is selected

  8. #8
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Pop-up calendar when selecting cell

    Please help to modify code from above posted link.

    The idea is to run the code after selecting the specific cell, display calendar and choose date, after that the date is placed in the cell

  9. #9
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Pop-up calendar when selecting cell

    Can anyone help to modify this file so the Calendar appears when you select as specific cell, for example A1, A2, A3 and when the date is chosen the date is entered in the same selected cell.

    Sample file:
    Calendar.xlsm

  10. #10
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Pop-up calendar when selecting cell

    I already found some clue, I managed to activate calendar after selecting specific cell, However I have some sort of bug: the calendar should be activated when selecting only a cell, but in my case it is also activated when highlighting several cells.

    Please help to modify the code in order to exclude activation of calendar when highlighting the cells.

    Updated file with calendar activated for selected cell:
    Calendar with cells.xlsm
    Last edited by G.Bregvadze; 08-05-2014 at 09:50 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calendar functions - linking work activities with formatted dates to calendar
    By SKSS in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2012, 06:38 PM
  2. Calendar VBA auto filling week and month based on calendar entry.
    By perrymagic in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2011, 02:00 PM
  3. Replies: 3
    Last Post: 01-09-2010, 08:42 AM
  4. How can I after selecting date on the Calendar autoinsert text into a activex textbox
    By ethanalvin in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2009, 06:10 PM
  5. Calendar object - Selecting more than one date
    By memphis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2007, 12:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1