+ Reply to Thread
Results 1 to 6 of 6

ActiveX command button visible through Chart

  1. #1
    Registered User
    Join Date
    08-12-2010
    Location
    Joburg
    MS-Off Ver
    Excel 2007
    Posts
    3

    ActiveX command button visible through Chart

    Hi,

    I converted to Excel2007 recently from 2003. I wrote a dashboard that displays pop-up charts when a activex button is pressed.

    In 2003 I moved all the button back Using Right Click->Order->Send to Back so that when the charts popped up the underlying buttons would not be visible.

    Now in 2007 that doesnt seem to work and the buttons are visible through the charts. I've searched but not found anyone else with this problem.

    Richard

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: ActiveX command button visible through Chart

    Are the buttons really visible through the chart?

    For me the buttons are on a separate graphics layer which is abover that of the chart.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-12-2010
    Location
    Joburg
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: ActiveX command button visible through Chart

    Hi Andy,

    Yes you are correct, the buttons are on a seperate graphic layer above that of the chart.
    Can the buttons be moved to a seperate graphic layer below that of the chart?


    regards,
    Richard

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: ActiveX command button visible through Chart

    Not that I know of. xl2007 introduced a separate layer for charts/shapes/smart art and controls.

    I guess the work around would be to make the buttons actual invisible whilst the chart is in popup mode.

  5. #5
    Registered User
    Join Date
    08-12-2010
    Location
    Joburg
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: ActiveX command button visible through Chart

    Hi Andy,

    Unfortuantely I cant make all the buttons invisible as users must be able move the pop-up chart around and click on the other buttons to make more pop-up windows appear for comparison purposes.

    If we can determine the position of the chart on the sheet and the position of the command button then I would be able to only make those buttons that are within the area of the chart invisible, as the charts are off a standard size.

    Is there a way to determine the position of a chart and a button?

    regards,
    Richard

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: ActiveX command button visible through Chart

    You should be able to use the TopLeftCell and BottomRightCell properties of the shape objects.

+ 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