Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message: "Object Required"

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a command button_1 hidden by a shape
that is located ontop of it.
I have another Command button_2 that should expose the first command button_1 by making the shape invisible: (shape.visible = false )
When I use this command Button_2 an error message
pops up: "Object Required" - why?



 
You have to reference the form that the shape is on. Try this...

Me.shape.visible = false
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top