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
 

Some videos you may like

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

mumps

Well-known Member
Joined
Apr 11, 2012
Messages
10,097
Click here to download your file. Just click on any cell in column A.
 

AhmedAbdelhai

New Member
Joined
Jun 5, 2018
Messages
22
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
 

mumps

Well-known Member
Joined
Apr 11, 2012
Messages
10,097
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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,232
Messages
5,594,956
Members
413,954
Latest member
mrsandy

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
Top