Hi all,
How do I set up a userform when i exit textbox1 it automatically changes the
text in the box to uppercase.
Thanks in advance
Greg
Hi all,
How do I set up a userform when i exit textbox1 it automatically changes the
text in the box to uppercase.
Thanks in advance
Greg
Hi Greg,
Try:
'=============>>
Private Sub TextBox1_Exit(ByVal Cancel _
As MSForms.ReturnBoolean)
With Me.TextBox1
.Text = UCase(.Text)
End With
End Sub
'<<=============
---
Regards,
Norman
"Greg" <[email protected]> wrote in message
news:[email protected]...
> Hi all,
>
> How do I set up a userform when i exit textbox1 it automatically changes
> the text in the box to uppercase.
>
> Thanks in advance
>
> Greg
>
Thanks Norman
"Norman Jones" <[email protected]> wrote in message
news:[email protected]...
> Hi Greg,
>
> Try:
>
> '=============>>
> Private Sub TextBox1_Exit(ByVal Cancel _
> As MSForms.ReturnBoolean)
> With Me.TextBox1
> .Text = UCase(.Text)
> End With
> End Sub
> '<<=============
>
>
> ---
> Regards,
> Norman
>
>
> "Greg" <[email protected]> wrote in message
> news:[email protected]...
>> Hi all,
>>
>> How do I set up a userform when i exit textbox1 it automatically changes
>> the text in the box to uppercase.
>>
>> Thanks in advance
>>
>> Greg
>>
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks