The below Visual Basic code is used in an excel macro. It reads the values on Row "R", trim spaces, checks if the length of the value is equal to zero (nothing in that cell). If so the it will output the letter "N" otherwise it will output an upper case value entered by the user (Format(UCase((ActiveCell.Value))).
The "!@" is the VB way in saying you want to output one character. So, if you have a cell that has 8 character you would code "!@@@@@@@@"
| Title | Under | Posted on |
|---|---|---|
| MD5 - SHA checksum of a file. | PeopleSoft Technical | 02/07/2012 - 5:29am |
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
Comments
hi, i want to input data by textbox in vb 6.0 but in UPPERCASE only.
would you like to help me
regard
KM
I'm not a VB guy by any means. The example i have is using an excel macro to force an upper case output. I'm sorry but I wouldn't be able to help on this one :(
I did a quick google search and got lots of good info but wasn't sure what you are really looking for. Please re-visit the site and post your solution when you find one. I would greatly appreciate it.
Good luck!
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
Private Sub {TextBox Name}_Change() {TextBox Name} = UCase({TextBox Name}) End SubReplace {TextBox Name} with the Name of the textbox you want all upper case.
Post new comment