Solved

Alter internal margins  on chart titles

Posted on 2011-09-09
6
1,504 Views
Last Modified: 2012-05-12
Dear Experts:

Why is the following menu item greyed out in Excel 2007/2010?  
... Format Chart Title / Alignment / Internal Margins

I would like to alter the internal margins using VBA.

Help is much appreciated.  Thank you very  much in advance.

Regards, Andreas
0
Comment
Question by:AndreasHermle
  • 3
  • 3
6 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36513347
Typically things are "Dimmed" because they are not applicable.

(Notice how on the "Inset" tab the "Table" option is available when you are in the worksheet, but "Greyed out" ("dimmed") when you are in a chart.

<I would like to alter the internal margins using VBA.>

Perhaps you could first take a step back and explain what your ultimate goal is here?
Perhaps you are looking at the wrong option...

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36513385
Notice too how when you right-click on the chart Title "Select Date" and "3-D rotation are also "greyed out",...again, this means that these commands are not applicable...

So again, can you explain your ultimate goal first?

What are you hoping to accomplish if you were able to "set the "Internal margins".
How would the Chart Title change?

Being that the Title Text is in a "Text box" you may need to just manipulate the font...
0
 

Author Comment

by:AndreasHermle
ID: 36514083
Hi boag2000:

thank you very much for your swift help.

 ... my ultimate goal: At a given font size, with reduced internal margins rather long chart titles would not have a line break or the line break would occur 'later'.

I hope I could make myself clear with English being not my mother tongue.

Thank you.

Regards, Andreas
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36514782
Then if I am understanding your request, I am not sure this is possible via VBA.

You may have to play around with the Font/textbox size manually.


Let's see what other Experts post...

JeffCoachman
0
 

Accepted Solution

by:
AndreasHermle earned 0 total points
ID: 36518390
Hi Jeff,

thank you very much for your feedback.

As a matter of fact, altering the textbox size manually does not work either. As I stated earlier I could always change the font size of the chart title (manually or by VBA) to get the desired result. I was just curious if one could play around with the internal margins of this text box. I guess not.

As you said, let's wait for other answers to be posted ...

Regards, Andreas
0
 

Author Closing Comment

by:AndreasHermle
ID: 36708033
Actually there is no need to alter the internal margins of chart titles using VBA since the workaround (changing the font size of the chart title) is just fine for me.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now