B
bobdydd
Hi
I am trying to find a way to change a text field from UpperCase
To ProperCase and back again with another doubleclick but it is not
working.
Can anyone help?
Thanks
Private Sub txtVenueProductTitle_DblClick(Cancel As Integer)
If IsNull(Me.txtVenueProductTitle) Then
MsgBox "Product Title is Empty", vbExclamation, "Oops!"
Me.txtVenueProductTitle.SetFocus
Exit Sub
End If
If Me.txtVenueName = vbUpperCase Then
Me.txtVenueProductTitle = StrConv(txtVenueProductTitle, vbProperCase)
End If
If Me.txtVenueName = vbProperCase Then
Me.txtVenueProductTitle = StrConv(txtVenueProductTitle, vbUpperCase)
End If
End Sub
I am trying to find a way to change a text field from UpperCase
To ProperCase and back again with another doubleclick but it is not
working.
Can anyone help?
Thanks
Private Sub txtVenueProductTitle_DblClick(Cancel As Integer)
If IsNull(Me.txtVenueProductTitle) Then
MsgBox "Product Title is Empty", vbExclamation, "Oops!"
Me.txtVenueProductTitle.SetFocus
Exit Sub
End If
If Me.txtVenueName = vbUpperCase Then
Me.txtVenueProductTitle = StrConv(txtVenueProductTitle, vbProperCase)
End If
If Me.txtVenueName = vbProperCase Then
Me.txtVenueProductTitle = StrConv(txtVenueProductTitle, vbUpperCase)
End If
End Sub