Results 1 to 15 of 15

Thread: A date picker userform for Mac.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Thank you!

    Quote Originally Posted by mikerickson View Post
    It should work from another userform.

    I'm at work and can't test, but I would create a userform, with a command button, a text box and this code and see what happens.
    Private Sub CommandButton1_Click()
        Dim uiDate As String   
        uiDate = macDate.Chosen    
        If uiDate = False Then
            MsgBox "canceled"
        Else
            TextBox1.Text = Format(uiDate, "mm/dd/yyyy")
    End Sub
    The userform that is the date picker must be named macDate.
    Last edited by Aussiebear; 05-03-2025 at 02:11 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •