runtime error ....object required

  • Thread starter Thread starter mlm
  • Start date Start date
M

mlm

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**
 
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)
 
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?
 
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.
 
Back
Top