ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Enable a rectangular Shape (https://www.excelbanter.com/excel-programming/315256-enable-rectangular-shape.html)

0000_AAAA_0000[_4_]

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


Tom Ogilvy

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





All times are GMT +1. The time now is 05:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com