Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graph formatting changing

Status
Not open for further replies.

Ca1icoJack

IS-IT--Management
Nov 27, 2008
36
GB
Using a macro I have imported some data and created 8 graphs on a sheet which is then printed. The printout reverts all character formatting to the default sizes.

How can I prevent it from doing this so the formatting I specify in the code is retained?

I've done this before in other macros and have never encountered this error and so am at a loss.

Thank you
 


Hi,

Where is the code that you refer to? My crystal ball is a bit foggy today.

You might also set the
Code:
ActiveSheet.chartobject2(1).Chart.[b]ChartArea.AutoScaleFont = False[/b]


Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Immediately before the line of code to print.

The formats are all correctly displayed on the screen, if I print manually they are also correct. However, if the code prints automatically they are all reset.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top