+ Reply to Thread
Results 1 to 2 of 2

Control display of chart using checkbox (form control)

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003
    Posts
    39

    Control display of chart using checkbox (form control)

    I'm trying to control the display of a chart (whether the whole chart is visible or not) using a checkbox form control. I've tried to do this using a named range and an indirect function in the formula:

    =if($B$3=TRUE, Indirect(named_range),NA())

    the chart occupies a whole expanded cell in another worksheet. I import a random picture where the chart is to be displayed under the checkbox, and when I try and assign a named range to this picture I get the message - 'Invalid cell reference'. I can forward the workbook on request.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Control display of chart using checkbox (form control)

    Assign a macro to the checkbox, to control the visible state of the chart - something like:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. [SOLVED] Form Control Checkbox
    By hhpack3 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-11-2014, 04:43 PM
  2. Checkbox using Format Control and copying control values
    By bigapple14 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2014, 09:28 AM
  3. assigning macro to a checkbox (form control)
    By Linus100 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2014, 03:41 PM
  4. [SOLVED] Form Control CheckBox check/uncheck via code
    By JasonRay in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-18-2013, 02:41 PM
  5. [SOLVED] Excel 2007 : Checkbox in cell -not Form Control
    By bowtiepride in forum Excel General
    Replies: 15
    Last Post: 03-29-2013, 11:22 PM
  6. Replies: 2
    Last Post: 03-19-2013, 08:01 AM
  7. How to duplicate form control's checkbox in Excel 2007
    By everwonder in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2012, 01:42 AM

Tags for this Thread

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