![]() |
runtime error ....object required
i have a button on a worksheet. the button is called
commandbutton1 I am not understanding this error.'424' ..object required. when i dble click and see the code..it shows that i have the code below for it. the code for that sheet is this: Private Sub CommandButton1_Click() PlantForm192.Show End Sub my userform is called PlantForm192 what did i miss?? it seems too simple but i am not sure what it is. on the debug..it is the 2nd line that is yellowed out. So is my name wrong or?? thanks for any help or insight. **first timer here** |
runtime error ....object required
Is the userform in the same workbook?
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "mlm" wrote in message ... i have a button on a worksheet. the button is called commandbutton1 I am not understanding this error.'424' ..object required. when i dble click and see the code..it shows that i have the code below for it. the code for that sheet is this: Private Sub CommandButton1_Click() PlantForm192.Show End Sub my userform is called PlantForm192 what did i miss?? it seems too simple but i am not sure what it is. on the debug..it is the 2nd line that is yellowed out. So is my name wrong or?? thanks for any help or insight. **first timer here** |
runtime error ....object required
i have the userform ,,,on the project window display..it
is under the Thisworkbook . the bottom of list..should it be somewhere else. i am thinking the model? -----Original Message----- Is the userform in the same workbook? -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "mlm" wrote in message ... i have a button on a worksheet. the button is called commandbutton1 I am not understanding this error.'424' ..object required. when i dble click and see the code..it shows that i have the code below for it. the code for that sheet is this: Private Sub CommandButton1_Click() PlantForm192.Show End Sub my userform is called PlantForm192 what did i miss?? it seems too simple but i am not sure what it is. on the debug..it is the 2nd line that is yellowed out. So is my name wrong or?? thanks for any help or insight. **first timer here** . |
runtime error ....object required
hey i know what i did.
I changed the name in properties but not the actual form name. it was still called userform1..so now it works. thanks. -----Original Message----- Is the userform in the same workbook? -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "mlm" wrote in message ... i have a button on a worksheet. the button is called commandbutton1 I am not understanding this error.'424' ..object required. when i dble click and see the code..it shows that i have the code below for it. the code for that sheet is this: Private Sub CommandButton1_Click() PlantForm192.Show End Sub my userform is called PlantForm192 what did i miss?? it seems too simple but i am not sure what it is. on the debug..it is the 2nd line that is yellowed out. So is my name wrong or?? thanks for any help or insight. **first timer here** . |
All times are GMT +1. The time now is 09:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com