Is it possible to insert a datepicker in every cell of a column in Google Spreadsheet so that anyone can click (with a single click) on that cell and get a datepicker calendar to select a date?
Right-click the selection you want to have the date picker show up for (i.e. single cell, entire row, entire column) and then open data validation. Set Criteria:
is a valid date and click Save. Now just double-click the cell!
The very first answer seems to be working for me.
Step 1: Right Click on cell in which you want to enter a date.
Step 2: Choose Data Validation.
Step 3: Set Criteria to "Date" is a valid date.
Step 4: SAVE
Step 5: Double click on the cell and the date picker will pop-out.
If you want to multiple cells to show the date picker, just Copy the Validated cell and paste it wherever you want to show dates on the sheet.
if I remember correctly you can just set the cells format to date and that will have the same effect
I don't think there is a solution that will meet your exact requirements however you could use some conditional formatting to "cheat" the effect for example
have a default date of 01/01/0001 i.e a date what will never be entered by a user
then conditional format the cells to be font colour the same as the background of the cell.
This way when a user double clicks the cell it will show the date picker but will look like a blank cell until they do so, of course you will have to make sure your other formulas ignore the default date.
If you pre-populate the cell with a random date, double clicking will bring up the date picker.
The solution would involve a little bit of VBA programming. So you create a date picker and position it in cell A1. Right click on it and choose option View code. VBA window will open and you will see two drop down menus (in the first it will probably be diplayed: DTPicker21). From the second drop down menu choose "CHANGE". his creates an empty procedure for the control's Change event
A procedure to write the selected date into the active cell:
Private Sub DTPicker21_Change() ActiveCell.Value = Me.DTPicker21.Value End Sub
Open the DEBUG mode and choose Compile, then save the file as .xlsm (Excel Macro-enabled workbook). Exit from developer mode.
At the end, use option freeze top row (your date picker box was placed in A1) so while scrolling it will always be visible. select any cell you want to enter date then click date picker and choose desired date.
protected by Community♦ Sep 9 at 20:18
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?