+ Reply to Thread
Results 1 to 6 of 6

Automatically pull value from assigned cell into text box in graph

  1. #1
    Registered User
    Join Date
    07-22-2014
    Location
    United States
    MS-Off Ver
    2013
    Posts
    5

    Automatically pull value from assigned cell into text box in graph

    I am creating a series of charts that all include a text box containing "(N=[value])", with different values in each instance, but with each N value listed as a total frequency in each table. I am creating hundreds of these, so if there is a way to automatically pull the correct N value from a cell into the text box, it would make this faster. I have written simple functions in excel tables but have no experience with VBA/macros. Thanks for your help.

  2. #2
    Registered User
    Join Date
    07-21-2014
    Location
    Netherlands
    MS-Off Ver
    2010
    Posts
    7

    Re: Automatically pull value from assigned cell into text box in graph

    Could you maybe share your worksheet or a dummy version of it, so we can have a look?

  3. #3
    Registered User
    Join Date
    07-22-2014
    Location
    United States
    MS-Off Ver
    2013
    Posts
    5

    Re: Automatically pull value from assigned cell into text box in graph

    Attached is a dummy version of the worksheet. I would like to automatically populate the highlighted text box in the graph with the value from cell B12 (also highlighted) in the sheet. Thank you.

  4. #4
    Registered User
    Join Date
    07-21-2014
    Location
    Netherlands
    MS-Off Ver
    2010
    Posts
    7

    Re: Automatically pull value from assigned cell into text box in graph

    Hoi,

    Will this solve your problem??

    Kind regards,
    Jan
    auto-populate n_values in graph sample for forum extra.xlsm

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

    Re: Automatically pull value from assigned cell into text box in graph

    You could simple create the required text in cell and link textbox to cell.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  6. #6
    Registered User
    Join Date
    07-22-2014
    Location
    United States
    MS-Off Ver
    2013
    Posts
    5

    Thumbs up Re: Automatically pull value from assigned cell into text box in graph

    Solved. Thanks both to Jan and Andy. Jan, I wasn't sure how you generated the text box in your version, but assuming it works in a similar way to Andy's template, which simply links the text box to a cell.

+ 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. I need pull the data from closed workbook through assigned path loc
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2014, 07:25 AM
  2. Replies: 0
    Last Post: 11-06-2012, 05:31 PM
  3. Making a graph to collect assigned info
    By Sellenzz in forum Excel General
    Replies: 6
    Last Post: 02-04-2011, 10:21 AM
  4. Replies: 2
    Last Post: 10-25-2006, 11:45 PM
  5. Can you automatically scale text in a graph? I'm hoping there's a way!
    By nbaj2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2006, 08:08 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