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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,648
Messages
6,120,725
Members
448,987
Latest member
marion_davis

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