Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Enable a rectangular Shape


Sorry!
I think I did not ask properly!
I need to disable a Shape, keep it just to make nicer a worksheet


I would like:

'This does not work because MyShape is actually a Shape
ActiveSheet.OLEObjects("MyShape").Enabled = false

'This Does not work and is what I do pretend to
ActiveSheet.Shapes("MyShape").Enabled = Fals

--
0000_AAAA_000
-----------------------------------------------------------------------
0000_AAAA_0000's Profile: http://www.excelforum.com/member.php...fo&userid=1248
View this thread: http://www.excelforum.com/showthread.php?threadid=27363

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Enable a rectangular Shape

ActiveSheet.Shapes("MyShape").ControlFormat.Enable d = False

--
Regards,
Tom Ogilvy


"0000_AAAA_0000" wrote in
message ...

Sorry!
I think I did not ask properly!
I need to disable a Shape, keep it just to make nicer a worksheet


I would like:

'This does not work because MyShape is actually a Shape
ActiveSheet.OLEObjects("MyShape").Enabled = false

'This Does not work and is what I do pretend to
ActiveSheet.Shapes("MyShape").Enabled = False


--
0000_AAAA_0000
------------------------------------------------------------------------
0000_AAAA_0000's Profile:

http://www.excelforum.com/member.php...o&userid=12480
View this thread: http://www.excelforum.com/showthread...hreadid=273633



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Undefined or non-rectangular name Conan Kelly Excel Worksheet Functions 0 August 7th 08 03:29 AM
my curser changed from arrow shape to a cross shape???? bj New Users to Excel 1 February 5th 07 02:47 PM
Enable a rectangular Shape 0000_AAAA_0000[_3_] Excel Programming 1 October 29th 04 08:05 PM
Deleting a shape and the cell contents the shape is in. Dave Peterson[_3_] Excel Programming 1 October 9th 03 03:36 PM
Deleting a shape and the cell contents the shape is in. Tom Ogilvy Excel Programming 0 October 9th 03 03:43 AM


All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"