+ Reply to Thread
Results 1 to 4 of 4

Use VBA to fix Series 1 title with input box

  1. #1
    Registered User
    Join Date
    06-22-2020
    Location
    WA, USA
    MS-Off Ver
    2013
    Posts
    3

    Use VBA to fix Series 1 title with input box

    How can I change the name of Series 1 using an input box in VBA? This is my current code, and the data always graphs correctly, but the title in the legend always shows up as Series 1.

    Please Login or Register  to view this content.
    Thanks!
    Last edited by llama24601; 06-23-2020 at 12:11 PM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Use VBA to fix Series 1 title with input box

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    06-22-2020
    Location
    WA, USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Use VBA to fix Series 1 title with input box

    Thank you for the reminder! The code is now in the correct format

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Use VBA to fix Series 1 title with input box

    try such approach:
    Please Login or Register  to view this content.
    the value of name will be after such assignment: equal sign and myYTitle in quotation marks, so
    ="yourYTitlevalue"

+ 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] Matching 'Chart Series title' to equation driven cells to set the series line colour
    By mattydboom1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-15-2020, 09:36 AM
  2. [SOLVED] VBA - Search Chart for Data Series Title and format.
    By rtcwlomax in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-24-2017, 09:16 AM
  3. series title not based on columns
    By ammartino44 in forum Excel General
    Replies: 1
    Last Post: 04-08-2015, 06:05 PM
  4. Replies: 2
    Last Post: 12-13-2010, 01:39 PM
  5. [SOLVED] Macro - Title - Input Box
    By Aziz Ahmedabadwala in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2006, 01:10 PM
  6. Input Title on MsgBox
    By pkeegs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2006, 06:20 PM
  7. [SOLVED] Input box and carriage return for chart title
    By Joel Mills in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2005, 12:05 PM

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