Is there a way to paste to a textbox?

imaquila

Board Regular
Joined
Feb 4, 2012
Messages
86
I see that someone has asked this before but I saw no replies to the question. I'm using a text box on a user form but sometimes, I'd rather copy the information and paste it to my text box to avoid typos, rather than type it in. I find that my textbox will not allow me to paste to it. Is there a setting or something that can be used to enable the pasting behavior? Thanks for your assistance!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
There is a textbox property named "Locked". If you set it to FALSE, you should be able to paste text from the clipboard into it.
 
Upvote 0
There is a textbox property named "Locked". If you set it to FALSE, you should be able to paste text from the clipboard into it.
Thanks very much. I checked but apparently the default for "Locked" is FALSE. I experimented by changing it to TRUE but then I found out that not only could I not paste to it, I also could no type directly in it. Please let me know if you have any other suggestions. Thanks
 
Upvote 0
I have several workbooks that use form textboxes for editing purposes. I paste data to them all the time, and it is the .Locked property that controls whether or not I can paste to them. Also, make sure that the

Rich (BB code):
MultiLine = True
EnterKeyBehavior = True

Properties are true. They don't prevent pasting, but the wrong behavior can confuse things.
 
Upvote 0
I have several workbooks that use form textboxes for editing purposes. I paste data to them all the time, and it is the .Locked property that controls whether or not I can paste to them. Also, make sure that the

Rich (BB code):
MultiLine = True
EnterKeyBehavior = True

Properties are true. They don't prevent pasting, but the wrong behavior can confuse things.
Thanks for tip about EnterKeyBehavior. I've not used that one before but I was familiar with MultiLine. As you predicted, changing the settings did not get my "Paste" option to pop up with a right click of the textbox but I'm happy to learn something new on the way to finding the solution that will allow me to Paste.
I should also mention that I'm NOT trying to copy something from my table to paste. In researching, I've seen that trying that apparently causes a similar problem. In any case, I do appreciate your time in trying to help. Thanks
 
Upvote 0
Try using the keyboard Ctrl-V key combination to paste instead of looking for a right click context menu.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,875
Messages
6,122,047
Members
449,064
Latest member
scottdog129

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top