Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format() in VB

Status
Not open for further replies.

tothemax

MIS
Sep 27, 2001
15
US
Trying to decipher some code. Can anyone tell me what this might be doing?

Format(lName.text, ">")
 
It might be used to capitalize all the letters in the text box. If that is the case the Ucase function would be cleaner.

zemp
 
Leave it up to VB to give you various way to accomplish the same thing. It is all about preference:

Private Sub Command1_Click()
MsgBox Format$("tEsT", ">")
MsgBox UCase$("tEsT")
MsgBox StrConv("tEsT", vbUpperCase)
End Sub


Swi
 
These answers are what I need. Thank you so much for the help!! [bigsmile]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top