By: Shamima Sultana

In reply to Mohamed ali.

Hello Mohamed ali,

To link the date picker to a specific cell without clicking it, you can modify the VBA code to directly reference the desired cell. For example, in the UserForm’s code, set the date picker value to update the specific cell directly:

Private Sub Calendar1_Click()
Sheets("Sheet1").Range("A1").Value = Calendar1.Value
Me.Hide
End Sub

This will update the specific cell (like A1) with the selected date without needing to click the cell itself.

Regards
ExcelDemy