Hi Scott,
Glad you got it working. If you modified your security level from High I
hope you chose Medium and not the Low option.
The add-in or exporting come to that will probably not cure the y axis
tuncation problem.
To use the Activechart.export you need to either place it in a routine
(macro) or you could execute it from the immediate window in the vbe.
The simplest way to create the routine would be to start the record
macro. Store the macro in your personal.xls so you can use it whenever.
Give the macro a name like ExportMyChart. Stop the recorder. This should
then give you an empty routine. Click menu Tools > Macro > Macros.
Select the ExportMyChart macro and press edit. You can now enter the
following code so you end up with a macro like this.
Sub ExportMyChart()
'
' ExportMyChart Macro
' Macro recorded 26/08/2005 by Andy Pope
'
Dim strFile As String
If Not ActiveChart Is Nothing Then
strFile = InputBox("Enter name for chart image file", _
"Export Chart", _
ActiveChart.Parent.Name)
If strFile <> "" Then
ActiveChart.Export ActiveWorkbook.Path & _
Application.PathSeparator & _
strFile, "GIF"
End If
Else
MsgBox "Please select chart object", vbExclamation
End If
End Sub
Cheers
Andy