Hi,
How can I have the ability to right-click in a textbox? Currently when I right-click, nothing happens. What I would like is to have the user be able to right-click and then copy the text from the textbox.
Any ideas
Cheers,
Hi,
How can I have the ability to right-click in a textbox? Currently when I right-click, nothing happens. What I would like is to have the user be able to right-click and then copy the text from the textbox.
Any ideas
Cheers,
Previous thread
http://www.excelforum.com/excel-prog...-userform.html
why not post your workbook then
The code works fine. here's the code in a workbook
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Ok I've gotten a code after googling for a while, and I got a menu to come up when I right-click in a textbox (menu consists of copy and paste selections).
Now the only problem is, even after I highlight the text, right-click, and hit copy, nothing is copied to the clipboard!
Here's the code I have ... one is for the userform code, and the other is for the module:
UserForm
ModulePlease Login or Register to view this content.
Any ideasPlease Login or Register to view this content.
Do you have macros called "Copy" & "Paste"? What do you want to copy & paste?
Attach the workbook
Your are using inconsistent references.
is it Textbox1 or tbFranchiseNumber ?
Also your copy section of TextMenu actually Cuts the selected text after copying.Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks