+ Reply to Thread
Results 1 to 3 of 3

enabling chart events for an embedded chart

  1. #1
    Wazooli
    Guest

    enabling chart events for an embedded chart

    Is it a problem to enable chart events for an already existing embedded
    chart, or am I better off enabling events prior to actual charting of data?

    Wazooli

  2. #2
    Tushar Mehta
    Guest

    Re: enabling chart events for an embedded chart

    In article <[email protected]>,
    [email protected] says...
    > Is it a problem to enable chart events for an already existing embedded
    > chart, or am I better off enabling events prior to actual charting of data?
    >
    > Wazooli
    >

    No difference. Of course, the chart has to exist before you associate
    events with it.

    --
    Regards,

    Tushar Mehta
    www.tushar-mehta.com
    Excel, PowerPoint, and VBA add-ins, tutorials
    Custom MS Office productivity solutions

  3. #3
    Tom Ogilvy
    Guest

    Re: enabling chart events for an embedded chart

    This article gives you the basics:

    http://support.microsoft.com/default...b;en-us;161858
    XL97: How to Trap Events for an Embedded Chart

    You note that you set up the class module and then assign a specific chart
    to the class. So to use chart events, the chart has to exist. Thus you can
    assign it to an existing chart or create a new one and assign it to that.
    If you want to handle multiple charts with the class, one way is you can use
    an array as shown in this approach by John Walkenbach (this is to handle
    multiple commandbuttons with a single class module, but the principles are
    the same).

    http://www.j-walk.com/ss/excel/tips/tip44.htm
    Handle Multiple UserForm Buttons With One Subroutine

    --
    Regards,
    Tom Ogilvy



    "Wazooli" <[email protected]> wrote in message
    news:[email protected]...
    > Is it a problem to enable chart events for an already existing embedded
    > chart, or am I better off enabling events prior to actual charting of

    data?
    >
    > Wazooli




+ 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