Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Excel UserForms

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Is it possible to format controls in UserForms(e.g. number or date such as mm/dd/yy?

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Sunny, spring-like Hull
    Posts
    3,339
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try, for example,

    Private Sub CommandButton1_Click()

    CommandButton1.Caption = Format(Now, "dd / mmmm / yy")

    End Sub

    Note that this can't be done at design time (as far as I know).

    [ This Message was edited by: Mudface on 2002-02-19 05:37 ]

  3. #3
    New Member
    Join Date
    Feb 2002
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-02-19 05:35, Mudface wrote:
    Try, for example,

    Private Sub CommandButton1_Click()

    CommandButton1.Caption = Format(Now, "dd / mmmm / yy")

    End Sub

    Note that this can't be done at design time (as far as I know).

    [ This Message was edited by: Mudface on 2002-02-19 05:37 ]
    Thanks

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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