Step 2: Excel Options screen will pop up. Select Add-ins, and you will see Manage dropdown at the bottom of the pop-up. See highlighted below: Step 3: Select COM Add-ins from the dropdown, then click on the GO button. Step 4: COM Add-ins screen will pop up. Check on Microsoft Power View for Excel and Click OK. Pop up a calendar when clicking a specific cell with VBA code. Please solve this problem as follows step by step. Note: This method can only work on Microsoft Excel 32-bit. Step 1: Create a UserForm with calendar. Please create a UserForm which contains the calendar you will pop up by clicking on a cell. You will need to insert the PDF document into your excel document as an object. In some cases, you'll be able to open, view, resize, and even edit the inserted PDF document. Here's how to insert PDF into excel. Open an Excel Document. After opening an excel document, click. Hello, hopefully this is the right place to ask a question about using PopTools in Excel. I've seen several posts about PopTools in the forums. Here's the problem I'm having: -I have two columns of paired comparisons. The two columns each contain 6000 values (rows).
How to pop up a calendar when clicking a specific cell in Excel?
Supposing there is a column range in a worksheet you need to frequently enter and change dates inside, but it is bored to enter or change date manually per time. How to quickly enter dates without manually typing into the column range? This article is talking about popping up a calendar when clicking on cells in a certain range, then inserting date into the selected cell automatically after selecting date in the calendar.
Step 1:Create a UserForm with calendar
Step 2: Activate the Calendar when clicking on cell
Pop up a calendar when clicking a specific cell with VBA code
Please solve this problem as follows step by step.
Note: This method can only work on Microsoft Excel 32-bit.
Step 1: Create a UserForm with calendar
Please create a UserForm which contains the calendar you will pop up by clicking on a cell.
1. Press Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Applications window.
2. In the Microsoft Visual Basic for Applications window, click Insert > UserForm.
3. Then a UserForm and a Toolbox windows pop up, in the Toolbox, click any one control and right click, then select Additional Controls from the right-clicking menu. See screenshot:
4. In the Additional Controls dialog box, scroll down to check the Microsoft MonthView Control option in the Available Controls box, and then click the OK button.
5. Then you can see the MonthView button is added in the Toolbox window. Please click this MonthView button, and then click on the UserForm1 window to create a Calendar in the Userform.
Note: You can adjust the size of the UserForm window to suit the inserted calendar by dragging the border of the UserForm.
6. Double click the inserted calendar in the UserForm1, and in the Code window, please replace the original code with the following VBA script.
VBA code: create a user form with calendar
Note: This code can help to insert date into selected cell after selecting date from calendar.
Step 2: Activate the Calendar when clicking on cell
Now you need to specify certain cells to pop up calendar when clicking. Please do as follows.
7. Double click the sheet name which contains the cells you will click to pop up calendar in the left Project pane, then copy and paste the below VBA code into the Code window. See screenshot:
VBA code: Click cell to pop up calendar
Note: in the code, A2:A10 are cells you will click to pop up calendar. Please change the cell range as you need.
8. Press Alt + Q keys simultaneously to close the Microsoft Visual Basic for Applications window.
From now on, when click on any cell inside the specified range in current worksheet, a calendar will pop up as below screenshot shown. And date will be inserted automatically into the selected cell after selecting date from the calendar.
Related articles:
The Best Office Productivity Tools
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
- Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
- Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
- Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
- Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
- Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
- Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
- Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
- Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
- More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
or post as a guest, but your post won't be published automatically.
How To Install Pop Tools In Excel File
- To post as a guest, your comment is unpublished.There is no Microsoft MonthView Control listed (Office 365), and the directions here doesn't explain how one would get that control, so this is pretty much useless unless you're using an older version of Excel.
- To post as a guest, your comment is unpublished.The calendar will show up but when I click on the date, the cell doesn't populate
- To post as a guest, your comment is unpublished.Hi,
The code works well in my case. Which Excel version are you using?
- To post as a guest, your comment is unpublished.Thank you so much! These directions were super useful :)
- To post as a guest, your comment is unpublished.Hi, Is it possible to put the date picker pop-up for multiple column, as in my sheet I have 'start date', 'end date' and 'agreement date'. if yes then how?
- To post as a guest, your comment is unpublished.Hi jeet,
Follow the steps and replace the range 'A2:A10' in the second VBA code with your column range (such as C2:E2).
- To post as a guest, your comment is unpublished.Salve il codice funziona benissimo, ma se volessi farlo funzionare anche su un altro foglio
- To post as a guest, your comment is unpublished.if i try to select a row, the pop up will activate and the date appears in each cell in that row
how can i avoid this- To post as a guest, your comment is unpublished.Hi Sam,
The code has been updated in the article with the problem solving. Please have a try and thank you for your comment.
- To post as a guest, your comment is unpublished.tarihi seçebiliyorum ama a1:a10 hücrelerine seçtiğim tarih eklenmiyor. teşekkür ederim
- To post as a guest, your comment is unpublished.Hello everyone,
Can anyone tell me how to popup a calendar in a range of cells, but starting only from the cell right bellow a table header and down bellow in an excel column.
Thank you in advance.- To post as a guest, your comment is unpublished.Use i.e: Range('B6:C30')
- To post as a guest, your comment is unpublished.Good Day,
Sorry I didn't got your question. Would be nice if you could provide screenshot of what you are trying to do.- To post as a guest, your comment is unpublished.Use i.e: Range('B6:C30')
- To post as a guest, your comment is unpublished.i used these VBA codes and everthing's fine so far. The range is A2:A10 and calendar pops up when you select a cell into it. But if you mark row from 2 to 10 again the calendar pops again. It's the same with column 'A' if you mark it, again the calendar pops. How should i proceed, in order to get the calendar only in the range i've defined?
- To post as a guest, your comment is unpublished.I want to show pop up calendar under the cell selected.How should I do?