+ Reply to Thread
Results 1 to 2 of 2

Can you select a chart but not see it's selected?

  1. #1
    Mark Stephens
    Guest

    Can you select a chart but not see it's selected?

    I thought maybe

    Application.Screenupdating = false

    may do it but no.

    Is it possible does anyone know to select your chart but not have the handle
    markers show?

    Kind regards, Mark



  2. #2
    Nick Hodge
    Guest

    Re: Can you select a chart but not see it's selected?

    Mark

    Most actions that can be taken on 'ActiveChart' can be taken without using
    that object, here for example is some code which removes the legend from an
    embedded chart (Chart 2) on sheet2 without selecting it. By setting a chart
    object variable I can just use this each time I want to do something with
    this chart.

    Sub test()
    Dim myChart As ChartObject
    Set myChart = Worksheets("Sheet2").ChartObjects("Chart 2")
    myChart.Chart.HasLegend = False
    End Sub


    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    [email protected]HIS

    "Mark Stephens" <[email protected]> wrote in message
    news:[email protected]...
    >I thought maybe
    >
    > Application.Screenupdating = false
    >
    > may do it but no.
    >
    > Is it possible does anyone know to select your chart but not have the
    > handle markers show?
    >
    > Kind regards, Mark
    >




+ 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