View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default 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**