View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
0000_AAAA_0000[_4_] 0000_AAAA_0000[_4_] is offline
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