Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The underbar character is interfering with the Val function's ability to
show the number (because it is not a number and Val stops evaluating numbers at the first non-digit that is not a US decimal point). Why are you even using the Val function? Just do this... TextBox1 = Format(Second(Time), "_00") -- Rick (MVP - Excel) "wynnyderpooh" wrote in message ... My code is: Dim strDate2 As String TextBox1 = Val("_" & Format(Second(Time), "00")) I have attempted to populate Textbox1 with workbook, on open and with form, initialize. All I get is 0 or the literal string Also, as soon as the connection opens I want to close the form. Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
File opens, worksheet does not display | Excel Discussion (Misc queries) | |||
XL file opens but does not display | Excel Discussion (Misc queries) | |||
how do I display a automatically message when excel opens? | Excel Discussion (Misc queries) | |||
Display a countdown timer | Excel Worksheet Functions | |||
Excel ADO connection opens read-only instance of opened Excel | Excel Programming |