PC Review


Reply
Thread Tools Rate Thread

ddm enable/disable: Object doesn't support this property, my a** it doesn't

 
 
William DeLeo
Guest
Posts: n/a
 
      14th Jun 2006

I have a series of blocks of code that enable/disable radio buttons and
drop down menus. But when I run it, most times (but not ALL times) I
get the "object doesn't support this property of method" error pointing
to the ".enabled = FALSE" line. I know it soemtimes works as I can see
the affect of the disable/enable call. BUT it usually bombs.

Any idea from anyone as to why this would fail to execute at times???
Would it fail if it is already set to FALSE and I am trying to set it
to FALSE? If so, how would I add a conditional to check first (my
attempt at that bombed too, but perhaps for syntax reasons).

TIA WD

Here are a couple examples of the code:

1.
Sheets("Edit Usage").Shapes("Drop Down 31").Select
With Selection
Enabled = True
End With

2.
Sheets("Edit Usage").Shapes("Drop Down 1").Select
With Selection
Enabled = False
End With


--
William DeLeo
------------------------------------------------------------------------
William DeLeo's Profile: http://www.excelforum.com/member.php...fo&userid=1256
View this thread: http://www.excelforum.com/showthread...hreadid=551911

 
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
Object doesn't support this property etc gg Microsoft Access External Data 0 10th Jan 2008 06:26 PM
Object doesn't support this property or method.... =?Utf-8?B?TWFjTnV0MjAwNA==?= Microsoft Access 1 22nd Aug 2006 05:17 PM
Object Doesn't Support this property or method =?Utf-8?B?Q2h1Y2tX?= Microsoft Access Forms 1 15th Aug 2006 09:33 PM
object doesn't support this property or method =?Utf-8?B?QmVuQg==?= Microsoft Powerpoint 0 8th Nov 2005 10:41 PM
object doesn't support this property or method =?Utf-8?B?ZXNwYXJ6YW9uZQ==?= Microsoft Access Getting Started 1 16th Apr 2005 09:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:19 AM.