![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 25
|
Is it possible to format controls in UserForms(e.g. number or date such as mm/dd/yy?
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
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 | |
|
New Member
Join Date: Feb 2002
Posts: 25
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|