How to insert a pop-up calendar and Time in a Excel 2010

Posted on 2013-05-21
Medium Priority
Last Modified: 2013-05-22
I have Notification Log which I need to have a date and time colomns.  I want insert a pop-up calendar within in the date coloumn and some type of click option to insert time.
Question by:cfhasan1
LVL 23

Assisted Solution

tailoreddigital earned 600 total points
ID: 39186202
This page seems to have exactly what you're looking for,
LVL 81

Accepted Solution

byundt earned 1400 total points
ID: 39186341
Ron de Bruin has a Date Picker control available in both Windows and Macintosh flavors that has been internationalized.
Windows version :   http://www.rondebruin.nl/win/addins/datepicker.htm
Mac version :  http://www.rondebruin.nl/mac/addins/datepicker.htm

To insert the current time: CTRL + :
To insert the current date: CTRL + ;

Macro to insert current time in column B when a cell is doubleclicked:
'This macro must be installed in the code pane for the worksheet being watched. It won't work at all if installed anywhere else!
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim targ As Range
Set targ = Range("B2:B1000") 'Watch these cells for doubleclicks. Insert current time.
Set targ = Intersect(Target, targ)
If targ Is Nothing Then Exit Sub

targ.Value = Now
targ.NumberFormat = "h:mm AM/PM"
Cancel = True
End Sub

Open in new window


Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question