Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a macro which activates when the user clicks on a shape. The macro works perfectly, but the shape "flashes" upon the user click. Any way to turn off this flashing/color change? -- grime ------------------------------------------------------------------------ grime's Profile: http://www.excelforum.com/member.php...o&userid=19227 View this thread: http://www.excelforum.com/showthread...hreadid=507653 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In the called macro you need to turn the screenupdating off and back on
something like this. Sub MySub On error goto Errorhandler application.screenupdating = false 'Your Code ErrorHandler: application.screenupdating = true end sub Note: as with any application seeting you are best off to use an error handler similar to the above example in case your code crashes, you want to reset the application settings. -- HTH... Jim Thomlinson "grime" wrote: I have a macro which activates when the user clicks on a shape. The macro works perfectly, but the shape "flashes" upon the user click. Any way to turn off this flashing/color change? -- grime ------------------------------------------------------------------------ grime's Profile: http://www.excelforum.com/member.php...o&userid=19227 View this thread: http://www.excelforum.com/showthread...hreadid=507653 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use Macro To Change Which Macro Assigned To Command Button | Excel Discussion (Misc queries) | |||
How do I know what macro is assigned to a button? | Excel Discussion (Misc queries) | |||
AutoShape name assigned to macro | Excel Programming | |||
Which Macro Is Assigned to a Button | Excel Programming | |||
Modifying the right-click popup menu of a shape | Excel Programming |