![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Hengelo
Posts: 79
|
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 |
|
Board Regular
Join Date: Feb 2002
Location: Ahmedabad Gujarat
Posts: 303
|
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. nishith desai http://www.pexcel.com |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|