PC Review


Reply
Thread Tools Rate Thread

disable a shape

 
 
=?Utf-8?B?SlQ=?=
Guest
Posts: n/a
 
      16th Nov 2007
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
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      16th Nov 2007
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" <(E-Mail Removed)> wrote in message
news:88DADBAC-BFF1-4510-AAFD-(E-Mail Removed)...
>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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable button(shape) after click Preschool Mike Microsoft Powerpoint 6 26th Mar 2010 01:13 PM
Re: Disable button(shape) after click Mark Microsoft Powerpoint 0 25th Mar 2010 01:30 PM
Create shape, name shape, add text to shape Rick S. Microsoft Excel Programming 2 27th Feb 2010 07:11 PM
Disable cut/copy of shape and images in excel 2007 perf Microsoft Excel Programming 0 29th Jan 2010 09:28 AM
disable shape resizing or moving ann Microsoft Excel Programming 8 29th Feb 2008 02:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:19 PM.