Auto tabbing between textboxes in userform with paste

phagan

New Member
Joined
Dec 1, 2009
Messages
48
I'm trying to set up a set of text boxes in a userform that people will be pasting into from a range of cells there will be variable lengths of data pasted into each textbox. The only definate bit is that the data from each cell is separated by a space character. So the Question is. How can I set up the Form so that when someone is pasting the data it autotabs to the next text box when it sees the space between the data? I was going to trim the data to get rid of the spaces if they were still pasted in.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I guess people aren't understanding this. The information that will be pasted will look like this:

0.0401 0.0031 0.0219 0.4403 0.8721 16.0428 4.3708 0.1873 3.0875 0.0005

Into 10 Corresponding text boxes. This is so that the Data can be analysed and then put into a spreadsheet.

The issue is that the user should not have to individually past each bit of that into each textbox. I want to get rid of the 10 individual copy and paste operations that would be needed to do this.

I have looked everywhere and have been unable to find what I am looking for.
 
Upvote 0

Forum statistics

Threads
1,215,025
Messages
6,122,731
Members
449,093
Latest member
Mnur

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