Thread: disable a shape
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default disable a shape

Hide it?


ActiveSheet.Shapes("Rectangle 1").Visible = False

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"JT" wrote in message
...
I use a shape for a button and assign a macro to this button. When the
user
presses the button, it kicks off the macro.

Is it possible to disable this shape if a certain condition is met? If
so,
how? Any help would be appreciated.

I know I probably should have used buttons but this was one of my first
projects and I used what I knew would work.

Thanks

--
JT