Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am using the following code to provide a sequential reference on a userform: Label5.Caption = 0.0001 + Application.max(Sheets("Notes").Columns(1)) Problem is that if the reference should be 2004.0010, it is displayed on the form as 2004.001. Can anyone help me with the syntax to format the caption? TIA |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Label5.Caption = Format(0.0001 +
Application.max(Sheets("Notes").Columns(1)),""0000 .0000") -- HTH RP "Newbie" wrote in message ... Hi, I am using the following code to provide a sequential reference on a userform: Label5.Caption = 0.0001 + Application.max(Sheets("Notes").Columns(1)) Problem is that if the reference should be 2004.0010, it is displayed on the form as 2004.001. Can anyone help me with the syntax to format the caption? TIA |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Bob.
"Bob Phillips" wrote: Label5.Caption = Format(0.0001 + Application.max(Sheets("Notes").Columns(1)),""0000 .0000") -- HTH RP "Newbie" wrote in message ... Hi, I am using the following code to provide a sequential reference on a userform: Label5.Caption = 0.0001 + Application.max(Sheets("Notes").Columns(1)) Problem is that if the reference should be 2004.0010, it is displayed on the form as 2004.001. Can anyone help me with the syntax to format the caption? TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
label caption | Excel Discussion (Misc queries) | |||
Caption Property | Excel Discussion (Misc queries) | |||
Caption | Excel Programming | |||
caption sensitivity | Excel Programming | |||
UserForm Caption | Excel Programming |