AhmedAbdelhai

New Member
Joined
Jun 5, 2018
Messages
22
Hi
I'm trying to put a DatePicker in my sheet in Column A.

I've used the tutorial below to do that.

https://github.com/Amallard/excelTricks/blob/master/DatePickerToCells.md

However, I need the datepicker range to start in column A from Cell 2 so that it doesn't mess up the table header.

Here is the sheet

One more thing, I don't know why every time I close the sheet, the excel shows an error that it stopped working and trying to recover the sheet.

Please help.

Thank you
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Click here to download your file. Just click on any cell in column A.
 
Upvote 0
Thanks Mumps
It looks pretty neat
However the datepicker still appears when I click on the table header "Date".
I need the datepicker to start from A2
 
Upvote 0
Replace the macro in the worksheet code module with this one:
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Dim LastRow As Long
    LastRow = Range("A" & Rows.Count).End(xlUp).Row
    If Intersect(Target, Range("A2:A" & LastRow)) Is Nothing Then Exit Sub
    CalendarFrm.Show
    Application.ScreenUpdating = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,262
Messages
6,118,550
Members
448,835
Latest member
Profast123

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