
Originally Posted by
Leith Ross
Hello clapforthewolfman,
Welcome to the Forum!
If your operating system is 64 bit Windows then there is no Date Picker control available. You can check by pressing the Windows key and then Pause/Break key. This will display information about your system.
There are workarounds. I have a UserForm that will work as a Date Picker. I can install the it for you if you post your workbook.
To Post Your Workbook- At the bottom right of the Reply window, Click the button Go Advanced
- At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
- Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
- Click the Select Files button at the bottom middle of the dialog.
- In the new window Find the file you want to upload, select it, and Click Open.
- You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
- Wait until the file has completely uploaded before you exit the File Manager dialog.
File Manger Picture
Appears to be a 32-Bit system. It's not one that I normally work on as I generally use Excel for Mac.
I guess my real question is will I be able to make programs that compare a cells date to the system date (current date) and execute actions.
Before trying the DatePicker I was using a simple text box with the following code:
If Not IsDate(Me.txtDateCreated.Value) Then
MsgBox "The Date box must contain a date.", vbExclamation, "Project Form"
Me.txtDateCreated.SetFocus
Exit Sub
End If
'RowCount = Worksheets("Project Information - Master").Range("A2").CurrentRegion.Rows.Count 'Outlines the data that will populate into the Master Worksheet when form is completed
With Worksheets("Project Information - Master").Range("A2")
.Offset(RowCount, 0).Value = Me.txtProjectID.Value
.Offset(RowCount, 1).Value = Me.cmboProvince.Value
.Offset(RowCount, 2).Value = Me.txtRegion.Value
.Offset(RowCount, 3).Value = Me.txtMile.Value
.Offset(RowCount, 4).Value = Me.cmboSubdivision.Value
.Offset(RowCount, 5).Value = Me.cmboProjectTitle.Value
.Offset(RowCount, 6).Value = Me.cmboProjectType.Value
.Offset(RowCount, 7).Value = Me.cmboStatus.Value
.Offset(RowCount, 8).Value = Me.DateCreated.Value
.Offset(RowCount, 9).Value = Me.txtEAConsultant.Value
.Offset(RowCount, 10).Value = Me.txtEngineeringArchaeology.Value
.Offset(RowCount, 11).Value = Me.cmboMonitoring.Value
End With
Unload Me
End Sub
Thanks!
Bookmarks