+ Reply to Thread
Results 1 to 7 of 7

Placing a text box above Y axis

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    Stockholm, Sweden
    MS-Off Ver
    2010
    Posts
    72

    Placing a text box above Y axis

    Hello all,

    Is there any way that I can place a text as fixed position over the highest value on the Y axes in a chart with VBA?

    Thanks in advance,
    Joachim

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

    Re: Placing a text box above Y axis

    Does it have to be a text box? Could you make do with a data label from a dummy series.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-27-2014
    Location
    Stockholm, Sweden
    MS-Off Ver
    2010
    Posts
    72

    Re: Placing a text box above Y axis

    It has to be a text box because the macro is going to format already existing graphs that uses a text box to display what currency the data is shown in.

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

    Re: Placing a text box above Y axis

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-27-2014
    Location
    Stockholm, Sweden
    MS-Off Ver
    2010
    Posts
    72

    Re: Placing a text box above Y axis

    Oh, thank you! But I see that the text box is positioned ontop of the higest value of the data series? What I want to is that I want to position It above the actual axis.

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

    Re: Placing a text box above Y axis

    Please Login or Register  to view this content.
    The axis left includes axis tick labels, so you may need to use activechart.PlotArea.InsideLeft property.

  7. #7
    Registered User
    Join Date
    06-27-2014
    Location
    Stockholm, Sweden
    MS-Off Ver
    2010
    Posts
    72

    Re: Placing a text box above Y axis

    Perfect! Thank you, Andy!

+ 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] How Do I Hide Zero Value Axis Titles where the axis is a text value and not numerical
    By krish2503 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-08-2014, 04:01 PM
  2. [SOLVED] Extract certain numbers from text placing them in columns
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2012, 01:43 PM
  3. Placing category values on X axis
    By elephantum in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-28-2011, 03:36 PM
  4. Placing an image behind text/numbers
    By -Doubleoseven- in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-01-2011, 08:25 AM
  5. Finding a value and placing text on the cell to the right
    By Reggie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-05-2006, 11:50 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