Results 1 to 15 of 15

Thread: A date picker userform for Mac.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5

    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.

    mikerickson you are the bomb! totally saved my life it would have taken me months if not years to determine how to program that. thank you for sharing your knowledge and please continue to do so!
    Last edited by Aussiebear; 05-03-2025 at 02:10 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
  •