Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Capitals in textboxes

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Location
    Hengelo
    Posts
    79
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hello,

    I wonder if the following can be done in VBA.

    I have a userform with several textboxes, say three.
    When I tab from textbox to textbox I want the text, in the textbox which I have left, to transform into capitals.

    Or when I type the text in the textbox that it immediately transforms into capitals.

    Is that in any way possible or do I want to much?!?!

    Best regards,

    Martin J.A. Maatman Oonk

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Ahmedabad Gujarat
    Posts
    303
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    in text1 lost focus event write down following line..

    text1 = strconv(text1,vbupper)

    you can make here proper case... lower case..

    and other options available in strconv..function.

    ni****h desai
    http://www.pexcel.com

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •