+ Reply to Thread
Results 1 to 4 of 4

Bypass worksheet_change event

  1. #1
    Dr.Schwartz
    Guest

    Bypass worksheet_change event

    Is there some way to temporarely bypass the worksheet_change event. So
    something like:

    Sub Insert_During_Bypass

    Activate worksheet_change bypass code
    Paste clipboard content
    Reinstate worksheet_change event

    End Sub

    Thank you
    The Doctor

  2. #2
    Norman Jones
    Guest

    Re: Bypass worksheet_change event

    Hi Dr.Schwartz,

    > Activate worksheet_change bypass code

    Application.EnableEvents = False

    > Reinstate worksheet_change event

    Application.EnableEvents = True


    ---
    Regards,
    Norman



    "Dr.Schwartz" <[email protected]> wrote in message
    news:[email protected]...
    > Is there some way to temporarely bypass the worksheet_change event. So
    > something like:
    >
    > Sub Insert_During_Bypass
    >
    > Activate worksheet_change bypass code
    > Paste clipboard content
    > Reinstate worksheet_change event
    >
    > End Sub
    >
    > Thank you
    > The Doctor




  3. #3
    Tom Ogilvy
    Guest

    Re: Bypass worksheet_change event

    Application.EnableEvents = False
    Paste clipboard content
    Application.EnableEvents = True

    --
    Regards,
    Tom Ogilvy

    "Dr.Schwartz" <[email protected]> wrote in message
    news:[email protected]...
    > Is there some way to temporarely bypass the worksheet_change event. So
    > something like:
    >
    > Sub Insert_During_Bypass
    >
    > Activate worksheet_change bypass code
    > Paste clipboard content
    > Reinstate worksheet_change event
    >
    > End Sub
    >
    > Thank you
    > The Doctor




  4. #4
    Dr.Schwartz
    Guest

    Re: Bypass worksheet_change event

    Thank you Norman - again...

    "Norman Jones" wrote:

    > Hi Dr.Schwartz,
    >
    > > Activate worksheet_change bypass code

    > Application.EnableEvents = False
    >
    > > Reinstate worksheet_change event

    > Application.EnableEvents = True
    >
    >
    > ---
    > Regards,
    > Norman
    >
    >
    >
    > "Dr.Schwartz" <[email protected]> wrote in message
    > news:[email protected]...
    > > Is there some way to temporarely bypass the worksheet_change event. So
    > > something like:
    > >
    > > Sub Insert_During_Bypass
    > >
    > > Activate worksheet_change bypass code
    > > Paste clipboard content
    > > Reinstate worksheet_change event
    > >
    > > End Sub
    > >
    > > Thank you
    > > The Doctor

    >
    >
    >


+ 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