Cell Click Pop Up Calendar

pluce

New Member
Joined
Aug 22, 2014
Messages
12
I have gone through the coding and now have the option to select a cell, right click, select "Insert Date" and then select a date from the pop-up calendar that...pops up.... The date is then input into that cell.

I need to know now how to format that specific cell to pop up that calendar as soon as it is selected so that users can only utilize that cell for that purpose. Does anyone know how to do this. I was thinking in the UserForm I could just tag the associated cell...but that does nothing...Help!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi pluce,

You can easily format your date, for example :
Code:
Format(yourdate, "dd mmmm yy")

HTH
 
Upvote 0
The date is already formatted correctly once it is selected. The problem is how the date is selected. Currently you have to right click on the cell, select "Insert Date", and then select the date you want which appears in the correct format. I would like to just select th cell (left click) and have the calendar pop up immediately. No right click, no selecting the calendar from a menu. I want the calendar to be the only option for that cell, select the cell and the calendar pops up.



Hi pluce,

You can easily format your date, for example :
Code:
Format(yourdate, "dd mmmm yy")

HTH
 
Upvote 0
Maybe something like this

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address(False, False) = "A1" Then UserForm1.Show
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top