PC Review


Reply
Thread Tools Rate Thread

Different chart sizes between Excel 2007 and previous versions

 
 
MD
Guest
Posts: n/a
 
      19th Mar 2008
I am plotting several charts in Excel on a single page report, controlling
the process with VB.NET; in the VB.NET application I define all the charts
parameters (fonts, sizes, positions, etc.), and the page parameters (margins,
headers, etc); when I run the application in PCs with Excel 2000 or 2003 the
output page is printed as expected, but if I run it in a PC with Excel 2007,
the charts are displayed bigger and my one-page report becomes a multiple
page report with pieces of my charts dispalyed in several pages. It looks
like the chart sizes in 2007 are measured differently than in previous
versions. Has anybody had the same problem ? If so, is there a workaround ?

Thanks.

MD
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      19th Mar 2008
If you have only tried it on one system that runs xl2007, you might want to
check the system set up. It is possible that the problem is in things like
resolution, etc.
However, if you have the problem on more than one system, then it could be a
difference in the software properties. I have not worked with xl2007, but I
would think that type of condition would have been accounted for during
design.

"MD" wrote:

> I am plotting several charts in Excel on a single page report, controlling
> the process with VB.NET; in the VB.NET application I define all the charts
> parameters (fonts, sizes, positions, etc.), and the page parameters (margins,
> headers, etc); when I run the application in PCs with Excel 2000 or 2003 the
> output page is printed as expected, but if I run it in a PC with Excel 2007,
> the charts are displayed bigger and my one-page report becomes a multiple
> page report with pieces of my charts dispalyed in several pages. It looks
> like the chart sizes in 2007 are measured differently than in previous
> versions. Has anybody had the same problem ? If so, is there a workaround ?
>
> Thanks.
>
> MD

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      19th Mar 2008
There are lots of slight differences. The default font is different, so the
column width may be off. If you use points for chart size instead of basing
it on the cell size, your chart may no longer align with cell boundaries. I
haven't used Excel 2007 in enough client projects to have worried about
details like this, so I can't help much further.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"MD" <(E-Mail Removed)> wrote in message
news:711917B7-ED3D-4D46-8928-(E-Mail Removed)...
>I am plotting several charts in Excel on a single page report, controlling
> the process with VB.NET; in the VB.NET application I define all the charts
> parameters (fonts, sizes, positions, etc.), and the page parameters
> (margins,
> headers, etc); when I run the application in PCs with Excel 2000 or 2003
> the
> output page is printed as expected, but if I run it in a PC with Excel
> 2007,
> the charts are displayed bigger and my one-page report becomes a multiple
> page report with pieces of my charts dispalyed in several pages. It looks
> like the chart sizes in 2007 are measured differently than in previous
> versions. Has anybody had the same problem ? If so, is there a workaround
> ?
>
> Thanks.
>
> MD



 
Reply With Quote
 
MD
Guest
Posts: n/a
 
      19th Mar 2008


"Jon Peltier" wrote:

> There are lots of slight differences. The default font is different, so the
> column width may be off. If you use points for chart size instead of basing
> it on the cell size, your chart may no longer align with cell boundaries. I
> haven't used Excel 2007 in enough client projects to have worried about
> details like this, so I can't help much further.
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Tutorials and Custom Solutions
> Peltier Technical Services, Inc. - http://PeltierTech.com
> _______
>
>
> "MD" <(E-Mail Removed)> wrote in message
> news:711917B7-ED3D-4D46-8928-(E-Mail Removed)...
> >I am plotting several charts in Excel on a single page report, controlling
> > the process with VB.NET; in the VB.NET application I define all the charts
> > parameters (fonts, sizes, positions, etc.), and the page parameters
> > (margins,
> > headers, etc); when I run the application in PCs with Excel 2000 or 2003
> > the
> > output page is printed as expected, but if I run it in a PC with Excel
> > 2007,
> > the charts are displayed bigger and my one-page report becomes a multiple
> > page report with pieces of my charts dispalyed in several pages. It looks
> > like the chart sizes in 2007 are measured differently than in previous
> > versions. Has anybody had the same problem ? If so, is there a workaround
> > ?
> >
> > Thanks.
> >
> > MD

>
>
> Jon:


How can I base my chart in cell size and not in points ?
Also, I am aware about the differences in default fonts, that is why I am
initializing everything to Arial 10pt, using the same cell width and so on,
but still XL2007 prints differently.

Thanks.


 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      19th Mar 2008
> How can I base my chart in cell size and not in points ?

Suppose you want the chart to cover $C$5:$G$20. This code shows what you
need.

Sub ResizeChart()
Dim chtob As ChartObject
Dim rng As Range

Set chtob = ActiveSheet.ChartObjects(1)
Set rng = ActiveSheet.Range("C5:G20")

chtob.Top = rng.Top
chtob.Left = rng.Left
chtob.Width = rng.Width
chtob.Height = rng.Height
End Sub

If the printing of a file in 2007 still doesn't work right, about all I can
do is wave my hands, scratch my chin, and suggest trying different printers
or upgrading printer drivers.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"MD" <(E-Mail Removed)> wrote in message
news:63872311-4321-4CB9-A24D-(E-Mail Removed)...
>
>
> "Jon Peltier" wrote:
>
>> There are lots of slight differences. The default font is different, so
>> the
>> column width may be off. If you use points for chart size instead of
>> basing
>> it on the cell size, your chart may no longer align with cell boundaries.
>> I
>> haven't used Excel 2007 in enough client projects to have worried about
>> details like this, so I can't help much further.
>>
>> - Jon
>> -------
>> Jon Peltier, Microsoft Excel MVP
>> Tutorials and Custom Solutions
>> Peltier Technical Services, Inc. - http://PeltierTech.com
>> _______
>>
>>
>> "MD" <(E-Mail Removed)> wrote in message
>> news:711917B7-ED3D-4D46-8928-(E-Mail Removed)...
>> >I am plotting several charts in Excel on a single page report,
>> >controlling
>> > the process with VB.NET; in the VB.NET application I define all the
>> > charts
>> > parameters (fonts, sizes, positions, etc.), and the page parameters
>> > (margins,
>> > headers, etc); when I run the application in PCs with Excel 2000 or
>> > 2003
>> > the
>> > output page is printed as expected, but if I run it in a PC with Excel
>> > 2007,
>> > the charts are displayed bigger and my one-page report becomes a
>> > multiple
>> > page report with pieces of my charts dispalyed in several pages. It
>> > looks
>> > like the chart sizes in 2007 are measured differently than in previous
>> > versions. Has anybody had the same problem ? If so, is there a
>> > workaround
>> > ?
>> >
>> > Thanks.
>> >
>> > MD

>>
>>
>> Jon:

>
> How can I base my chart in cell size and not in points ?
> Also, I am aware about the differences in default fonts, that is why I am
> initializing everything to Arial 10pt, using the same cell width and so
> on,
> but still XL2007 prints differently.
>
> Thanks.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2007 to look like previous versions =?Utf-8?B?SHJhc3Q=?= Microsoft Word Document Management 6 10th Nov 2009 03:15 PM
Excel 2007 vs previous versions Nic Microsoft Excel Misc 1 29th May 2008 08:39 PM
Excel 2007 opening previous versions - Issue =?Utf-8?B?R3JhcGhpYyBDb252ZXJzaW9uIElzc3VlIEV4Y2Vs Microsoft Excel Crashes 0 1st Oct 2007 05:07 PM
Excel 2007 - chart sizes/formats (etc) GSV Three Minds in a Can Microsoft Excel Discussion 0 11th Feb 2007 10:33 PM
Re: Chart sizes with window in Excel 2007? Jon Peltier Microsoft Excel Charting 0 9th Jan 2007 02:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:02 PM.