Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to enable paste in a Userform?

Status
Not open for further replies.

RonQA

Technical User
Jun 24, 2007
61
US
I have a Userform in outlook and I want to be able to reight click on a field and paste into the textbox. The problem is the right click does not come up in the textbox.

Any ideas?

Thanks,
 
For MSForms textbox:
Code:
Private Sub TextBox1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
If Button = 2 And Shift = 0 Then
    MsgBox "paste"
End If
End Sub

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top