graph tick boxes
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Graph with tick boxes

Graph with tick boxes

resolvedResolved · Urgent Priority · Version 2007

replyReply Sun 21 Mar 2010, 19:21Delegate Richard said...

Richard has attended:
Excel Advanced course

Graph with tick boxes

Hi there,

I am trying to make an interactive graph with tick boxes which allows the user to hide a series or bring up more series.

The way i want to do this is by having a seperate table that links to the first table and use an IF statement to make the data visible and hid it when the box is not ticked.

I have created the check boxes and now need to make another cell populated with true and false in order to make my if statements work. when the box is ticked, i need to populate another cell with true (and false is not ticked).

So when i doulbe click the checkbox it takes me to the vb editor and i cant seem to make the box populate with a true if the box is ticked. What should a basic macro look like that allows another cell to populate as true, when the checkbox is ticked?

For upcoming training course dates see: Pricing & availability

replyReply Mon 22 Mar 2010, 10:44Trainer Anthony said...

RE: Graph with tick boxes

Hi Richard, thanks for your query. Have you considered using the Pivot Table functionality to do this? It sounds like you're trying to achieve something a Pivot Table could do for you very easily.

It is possible to code what you're after but you need to capture the value from the checkbox, send it to a variable, perform a test on that value and then send a dependent output to the cell on the spreadsheet. Let me know if you want to proceed and I will post some generic code which should point you in the right direction.

Hope this helps,

Anthony

 

Please browse our web site to find out more about
excel consulting and other Microsoft training courses.

Excel tip:

Display Formulas Instead of Results in Excel 2010

By pressing Ctrl ~ once, Excel will display formulas rather than the results of the formulas. Press it again, and the results will appear again.

A much quicker and simpler way of displaying your formulas!

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard