Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
After entering say 11/27/44 in my TextBox 19 I want Textbox20 to display 63,
but it is not working Anyone see why? Private Sub TextBox19_AfterUpdate() UserForm1.TextBox20.Text = Application.WorksheetFunction. _ DateDif(Format(DateValue(TextBox19.Text), "mm/dd/yyyy"), Date, "y") End Sub TIA, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error handling error # 1004 Run-time error | Excel Programming | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
Error Handling - On Error GoTo doesn't trap error successfully | Excel Programming | |||
Automation Error, Unknown Error. Error value - 440 | Excel Programming |