+ Reply to Thread
Results 1 to 5 of 5

Macro to hide graph

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Macro to hide graph

    Hi, is there any way to make a macro which would hide a graph depending on drop down selection. To give you an idea of how I want to use it I have 3 graphs for each drop down however only some of them are relevant to the selection and want the irrelevant ones to be hidden. I know I can hide columns however this wont work in the specific file I am building without crashing other data. Thanks

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

    Re: Macro to hide graph

    you can set the visible property of the chartobject

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-06-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Macro to hide graph

    How could I then link this to the drop down list? Because certain graphs I would like to be shown depending on what option the user chooses, and there are quite a few options.

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

    Re: Macro to hide graph

    without seeing or at least explaining a lot more it's hard to suggest anything that would be relevant above what has already been posted.

    Post example workbook and detail what is suppose to happen

  5. #5
    Registered User
    Join Date
    08-06-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Macro to hide graph

    I've actually managed to do it and solve the problem, but thanks for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Show & hide graph buttons
    By mani_bbc05 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-26-2013, 02:39 PM
  2. Replies: 3
    Last Post: 09-14-2012, 11:59 AM
  3. Hide Table and Show Graph
    By dacoffee in forum Excel General
    Replies: 2
    Last Post: 06-23-2011, 07:12 AM
  4. how to hide a graph with a macro?
    By Safadinhu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2010, 04:20 AM
  5. Bar graph: Hide zeros
    By Pingvinfan in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-25-2009, 06:49 AM

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