|
Excel Tips - Put Chart On A New Sheet
Video | Similar Helpful Excel Resources
ExcelExperts.com brings you training video on: Excel Tips - Put Chart On A New Sheet
Got a Question? Ask it Here in the Forum.
Similar Helpful Excel Resources
Hi,
More often than not the various solutions posted for manipulating charts in Excel 2007 with VBA are issue specific, which may be adapted by other users to suit their needs.
This is great, but often means trolling a large number of threads and posts before you find something you can use/adapt.
Given that chart methods are very difficult to track down and the VBA chart object model in XL07 isn't terribly helpful, and to possibly help users with basic manipulation I've started this thread in the hope that others will contribute snippets of code for making changes to charts in XL07 using VBA.
To start the code below can be used to make the chart border invisible for every chart in the active sheet.
Code:
Sub Remove_Chart_Border()
' Use this to make the border on each chart in the active sheet invisible
'
' Get the number of charts in the active sheet
NumberOfChartsInActiveSheet = ActiveSheet.ChartObjects.Count
'
'Create a For/Next loop to cycle through each chart in the active sheet
For ChartLoop = 1 To NumberOfChartsInActiveSheet
'
'activate the next chart in the loop
ActiveSheet.ChartObjects(ChartLoop).Activate
' Do something with the active chart
With ActiveChart
' In this case the "do something" is set the line of the border of the Chart Area to invisible (visible = false)
.ChartArea.Format.Line.Visible = msoFalse
End With
'
'move on to next chart in the loop
Next
'
'
End Sub
My knowledge of manipulating charts with VBA is very limited, so I'm hoping other (likely more experienced) forum members will see this as a good idea and tag on.
In Excel I have a few spreadsheets which use charts, just today when I mouse over the bars the little "Chart Tip" stopped showing up. I checked in Tools/Options and under Charts the options are checked for both "Show Name" and "Show Value". Anyone see this before? Nothing changed on the system really.
I would like to change the text of a tool/hover tip for a datalabel in a chart
using Excel 2003. As it is, I can use the
Application.ShowChartTipNames
and
Application.ShowChartTipValue
to either turn on or off the names and values. If, say, I turn on
names but not values, then the datalabels for the series named "Category 1"
would read
"Category 1" Data Labels.
That's close, but I'd prefer that the tip simply read
Category 1
or whatever else I choose. Is there a .caption property or some such
that I can change somewhere?
Can this be done?
Thanks,
Rob
My problem is this: I'm using Excel '03 to hand edit (!) a fairly large db. I have the data charted as a scatterplot, the x-axis is a numerical data id in the range 0-500,000 and the y-axis is the measurement value. Basically I go along the chart and look for outliers and bad data, then mouse over the point so the chart tip appears with the values and then I can easily edit them out of the worksheet. My problem is that on some sheets (I'm working with about a dozen) when I mouse over the point instead of the integer value (e.g. 286,458) I get a truncated scientific value (e.g. 3E+05) which doesn't really help me dig the value up in the worksheet. This seems possibly unrealted to the x-axis value, as some sheets in a similar range will display. Is there a way to force excel to display full integer values here?
I apologize if my terminology for the numbering is wrong, I hope I managed to make it clear none the less. Thanks for any help.
Hi Guys,
Does anyone know of a web site which offers Excel tips and tricks.
Is there a free book which I can download that will give me tips and tricks.
Thanking you in advance,
Regards
J-O
What is the easy way to create forms in different sheets.......
In Main Sheet (Sheet1) each row contains some informations about a particular item.
I want to create Forms in separate Sheets and datas for this Form 1 (Sheet2) should be datas of Row#1 of Sheet1 & datas for this Form 2 (Sheet2) should be datas of Row#2 of the Sheet1.......
Hy guys,
I still work with excel 2007, so, can someone tell me please if the 2010 version shows the formula tips, when we are tipping a formula in the "name manager box", and in the "conditional formating box".(when you use a formula to do conditional formating), like they are shown when we tipe a formula in a spreadsheet cell??
I think that would be a great help
Hello. I recorded the code below to convert pages of workbook to pdf. It works well on my computer but on a co-worker's computer the pdf produced has header and footer pictures shifted slightly down and to the right, showing small areas of white area on his pdf and I do not see this on my pdf produced.
-Any idea what might cause this situation?
-If I have pictures in the header and footer and the pictures are inserted from my desktop,
does this cause Excel issues with those headers/footers on another computer? Is a better
way to load and link the pictures somewhere in the Excel document?
-Is Excel not the best tool to convert to pdf? Would it be better to use Publisher
or even Powerpoint linked to Excel sheets? How about one of the many Excel to
PDF softwares out there?
Thank you.
Sub convpdf()
Sheets(Array("sheet1", "sheet2", "sheet3", "sheet4", "sheet5")).Select
Sheets("sheet1").Activate
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"C:\Documents and Settings\myname\Desktop\pdf_file.pdf", Quality:= _
xlQualityHigh, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
OpenAfterPublish:=True
End Sub
If you have any tips or tutorials you would like to see on Excel,
please feel free to visit me at http://teachr.blogspot.com
Good afternoon/morning/evening.
Many thanks to all of you who have requested and suggested tutorials to
be posted on my blog http://teachr.blogspot.com over the past couple of
days. I'm currently working on more new content for the blog and
really appreciate your input.
If you have any more ideas please please keep them coming, as I want as
many tutorials, tips and hints for excel as I can get to keep my blog
interesting an useful to those who visit.
Once again, if you have any requests, ideas or tutorials of your own
for the site, please email me at mattyboy150279@gmail.com and let me
know. Similary if you want an update on new tutorials posted please
send me a similar email with the heading SUBSCRIBE, and I will update
you whenever there is new content.
Thanks again, and keep 'em coming!
Kindest Regards,
Matt
http://teachr.blogspot.com - For Excel Tips and Tutorials
|
|