Solved

Alter internal margins  on chart titles

Posted on 2011-09-09
6
1,639 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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;…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

729 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