Selected calendar date to cell on worksheet

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,226
Office Version
  1. 2007
Platform
  1. Windows
I have a calendar which open when i click on a cell in range H8:H26
The current date pops up & clicking on it i then see a large calendar open & that months days are shown "see screen shot"
I then select a date & the large calendar closes.
Please advise code or advise how i now have that date entered in the cell that i had selected for the calendar to open.

Thanks
 

Attachments

  • 2629.jpg
    2629.jpg
    207.4 KB · Views: 8

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
This gives me compile error type missmatch

Rich (BB code):
Private Sub DateTransfer_Click()
            Dim sh As Worksheet
            Dim r As Range
            
            
            Set sh = Sheets("GRASS")
            Set r = ("H8:H26")
                sh.Cells(.Column, "H").Value = CDate(Datepicker1.Value)
                MsgBox "DATE APPLIED TO WORKSHEET", vbInformation, "DATE TRANSFER MESSAGE"
    
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

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