+ Reply to Thread
Results 1 to 2 of 2

shape (with macro assigned) flashes upon click

  1. #1
    Registered User
    Join Date
    02-01-2005
    Posts
    62

    Question shape (with macro assigned) flashes upon click

    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?

  2. #2
    Jim Thomlinson
    Guest

    RE: shape (with macro assigned) flashes upon click

    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1