VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



'Simple code for convert text to UPPERCASE

by Sreeram.P (16 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 9th May 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

'Simple code for convert text to UPPERCASE

Rate 'Simple code for convert text to UPPERCASE



    Dim pos As Long
     
    If Len(txtCtrl(Index)) >= 1 Then
        pos = txtCtrl(Index).SelStart
        txtCtrl(Index) = UCase(txtCtrl(Index))
        txtCtrl(Index).SelStart = pos
    End If
end sub

Download this snippet    Add to My Saved Code

'Simple code for convert text to UPPERCASE Comments

No comments have been posted about 'Simple code for convert text to UPPERCASE. Why not be the first to post a comment about 'Simple code for convert text to UPPERCASE.

Post your comment

Subject:
Message:
0/1000 characters