Userform To Worksheet info please

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,226
Office Version
  1. 2007
Platform
  1. Windows
Hi,
Please see screen shot supplied.

I would enter a value in each TextBox then press TRANSFER DATA.
A new row should be inserted at row 3 then sorted A-Z

When i press TRANSFER DATA i see a RTE 438 as per screen shot & when debugged the line of code is shown in yellow as per screen shot.

Can you advise what i did wrong for this RTE to be shown.
Can you also advise if the rest from the re on is correct

Many Thanks
 

Attachments

  • 7169.jpg
    7169.jpg
    238.2 KB · Views: 1
  • 7170.jpg
    7170.jpg
    26.6 KB · Views: 1
  • 7171.jpg
    7171.jpg
    17.4 KB · Views: 1

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
TextBox1 does not have a ListIndex property hence the error.

Its not clear what you are testing with that line.
What condition would make you want to show that MsgBox?
 
Upvote 0
Ok
Then i added it by mistake.

I wish to add data to each textbox, run transfer data, insert new row at 3 and sort A-Z

If transfer data is pressed all 3 textboxes must have a value or msg is shown
 
Upvote 0
Thanks,
Last night had to change coe but now working.

Have a nice day
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,496
Members
449,089
Latest member
Raviguru

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