Runt-time error '424': Object required

anthonymedz

Board Regular
Joined
Jan 30, 2015
Messages
69
Hi guys,

Good day.
Can someone help me to solve the error.
When i run the program the error always occurring.

I program it using ActiveX control but then when i copy the program to transfer to Form control(Macro) it suddenly occurred an error.

Code:

UserForm1.Show

'Duty Engineer
Sheets("Completed").Select
Range("B54").Select = TextBox1.Text -> error starts here
Range("B55").Select = TextBox2.Text


'Lead Tech
Sheets("Completed").Select
Range("B58").Select = TextBox3.Text
Range("B59").Select = TextBox4.Text


'Technician
Sheets("Completed").Select
Range("B62").Select = TextBox5.Text
Range("B63").Select = TextBox6.Text
Range("B64").Select = TextBox7.Text
Range("B65").Select = TextBox8.Text


UserForm1.Hide

End Sub
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Try this:

Code:
[COLOR=#333333]Range("B54").Value = TextBox1.Text[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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